This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Team,
I need a bootloader example file with the HalCoGen project files for TMS570LS0914 bootloader
this below link doesn't have the HalCoGen project files for TMS570LS1224 bootloader
http://www.ti.com/lit/zip/spna192.
Thanks in advance.
Santhosh.
Hi Santhosh,
You can use the bootloader example for TMS570LS0714. The only difference between LS0714 and LS0914 is the size of the flash memory.
This is the link to download CAN bootloader example:
https://git.ti.com/cgit/hercules_examples/hercules_examples/tree/Bootloaders/SafetyMCU_Bootloaders
Hi QJ Wang,
While downloading the application bin file it is stuck in Fapi_BlockErase function
while(FAPI_GET_FSM_STATUS != Fapi_Status_Success); condition, So I have traced the HCLK system clock configuration it is 240
Please check and confirm me the setting for Sys_CLK_FREQ is correct or not.
Thanks in Advance
Santhosh.
HI Santhosh,
The maximum CPU frequency for TMS570LS0714PZ is 100MHz. The 240MHz in your config is invalid.
Hi QJ Wang,
TMS570LS0914PZ configured as 80 and 100MHz both has the same issue.
After I have commented on this while(FAPI_GET_FSM_STATUS != Fapi_Status_Success); condition
it is stucked in previous while( FAPI_CHECK_FSM_READY_BUSY == Fapi_Status_FsmBusy );condition itself
So I have tried to run the code reset and run
it jumps to undefentry in sys_intvecs.asm file
CPSR | 0x000003DB | Stores the status of interrupt enables and critical processor status signals [Core] |
M | 11011 | Mode of ARM: 0x1B=UND |
Abort_Registers | ||
SPSR_ABT | 0x600003DF | |
M | 11111 | Mode of ARM: 0x1F=SYS |
R13_ABT | 0x08001400 | |
R14_ABT | 0x00001084 | |
IRQ_Registers | ||
SPSR_IRQ | 0x000003D2 | |
M | 10010 | Mode of ARM: 0x12=IRQ, |
R13_IRQ | 0x08001300 | General Purpose Register 13 in IRQ mode [Core] |
R14_IRQ | 0x00004678 | General Purpose Register 14 in IRQ mode [Core] |
CP15_DATA_FAULT_STATUS | 0x00000409 | Core |
CP15_AUX_DATA_FAULT_STATUS | 0x00800000 | Core |
CP15_DATA_FAULT_ADDRESS | 0x08000018 | Core |
I have check both 100Mhz and 80 MHz frequency.
Please check the link file and sys_intvecs.asm file
Please check and confirm as soon as possible
Thanks in advance.
Santhosh
Hi Santhosh,
The SYS_CLK_FREQ should be system clock. If CPU clock is 80MHz, the SYS_CLK_FREQ = 80MHz.
Hi QJ Wang,
Yes it is same, but still It is not working.
Is there any other issue.
RTI is configured in HalCoGen and bootloader code
Where is the code for RTI in bootloader
It is again stuck in Download Application image.
Thanks in advance.
Santhosh
Hi QJ Wang,
I have a doubt in the UART baudrate is fine for TMS570LS0914 MCU is 115200 or it is better to use 9600 ?
and one more doubt is about my application address is okay or not.
Please suggest me how to split the memory.
Please check and confirm as soon as possible.
Thanks in advance.
Santhosh
Hi QJ Wang,
Today, I faced a issue after changed to 100MHz for HCLK and VCLK1
After press 1 for download application image
1. Download Application Image To the Internal Flash
After timeout from remote system it is gone to dabort.asm in bootloader.
CPSR | 0x600003D7 | |
M | 10111 | Mode of ARM: 0x17=ABT |
Abort_Registers | ||
SPSR_ABT | 0x600003DF | |
M | 11111 | Mode of ARM: 0x1F=SYS |
R13_ABT | 0x080013C8 | |
R14_ABT | 0x00003D2C | |
CP15_DATA_FAULT_STATUS | 0x00000008 | Core |
CP15_DATA_FAULT_ADDRESS | 0x00F7E41C | Core |
CP15_AUX_DATA_FAULT_STATUS | 0x00800000 | Core |
Can you please guide me to debug this issue.
Thanks in advance.
Santhosh
Hi QJ Wang,
Please can you share the bootloader for TMS570LS0914 MCU specific ?\
Thanks in advance.
Santhosh
Hi QJ Wang,
I have define the flash sectors for TMS570LS0914 MCU in flash_defines.h file.
and the link.cmd file
download the application image to internal flash has issue
and stuck it here
Please check and feedback as soon as possible
Thanks in advance
Santhosh
HI Santhosh,
This is the link to download CAN bootloader example:
https://git.ti.com/cgit/hercules_examples/hercules_examples/tree/Bootloaders/SafetyMCU_Bootloaders
The CAN bootloader example for TMS570LS0714 can be used for TMS570LS0914. Those two devices are same except the internal memory size. The example codes were tested and work.
Hi QJ Wang,
I have used the same build to develop UART bootloader for TMS570LS0914 from TMS570LS0714 build. which you have referred in first reply itself.
I faced a issue after changed to 100MHz for HCLK and VCLK1
After press 1 for download application image
1. Download Application Image To the Internal Flash
After timeout from remote system it is gone to dabort.asm in bootloader.
CPSR | 0x600003D7 | |
M | 10111 | Mode of ARM: 0x17=ABT |
Abort_Registers | ||
SPSR_ABT | 0x600003DF | |
M | 11111 | Mode of ARM: 0x1F=SYS |
R13_ABT | 0x080013C8 | |
R14_ABT | 0x00003D2C | |
CP15_DATA_FAULT_STATUS | 0x00000008 | Core |
CP15_DATA_FAULT_ADDRESS | 0x00F7E41C | Core |
CP15_AUX_DATA_FAULT_STATUS | 0x00800000 | Core |
Can you please guide me to debug this issue.
please check what will be the issue in flash_defines.h file.
and the link.cmd file
download the application image to internal flash has issue
and stuck it here
Please check and feedback as soon as possible
Thanks in advance
Santhosh
Hi Santhosh,
CP15_DATA_FAULT_ADDRESS | 0x00F7E41C |
Core |
This is not a valid flash address. Accessing this address will generate a data abort.