I use TMS570LS3137,use J-LINK my board can work,but download to flash ,my board cann't work!I use TMS570LS20216 MDK 's startup file and systeminit file.
please tell me why?thanks! my email :zjie0779@sina.com
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.
I use TMS570LS3137,use J-LINK my board can work,but download to flash ,my board cann't work!I use TMS570LS20216 MDK 's startup file and systeminit file.
please tell me why?thanks! my email :zjie0779@sina.com
Hello:
Just to let you know we received your post and will work on providing you an answer.
Regards,
Enrique Lizarraga
Do you mean that you can run the program with the emulator/IDE plugging in, But can not run when it is unplugged?
If this is the case, Please check 3 things:
1) Press PORRST to see if it works.
2) Press nRST to see if it works.
3) If NO. 1 and 2 do NOT work, please pull down nTRST pin (or remove the pull up on this pin since it has an internal pull down) to see if it runs. I understand that to use the J-LINK, the nTRST pin has to be pull up. However, when it is pull up, there might be some problem in startup. If this is the case, do not worry, it will be fixed in silicon version RevB.
Regards,
Haixiao
I use KEL4 software.
PORRST and nRST are normal. I use myself board,use J-LINK it work,but after download ,it don't work! I will try remove the nTRST's pull up.thanks!
I have remove nTRST's pull up,but my board don't work yet. I don't know why,or have other ways.thanks very much!
Can you generate a simple project from HalCoGen for LS3137 to see if it works?
Since you are using a LS20216 init files, something such as the PBIST will not work. That could be a problem.
Meanwhile, could you please connect with emulator to see:
1. where the PC stops.
2. dump the first 20 bytes from address 0.
Regards,
Haixiao
I use KEIL4,when I make a project,I add startup file itself.Use HAL Code Generator,generate code ,these code can add a keil4 project ?generate code include of startup file?Can you give me a sample?thanks!
1. make sure that you download the latest HalCoGen.
http://www.ti.com/tool/halcogen
2. Open HalCoGen, click the link that circled in RED.
This application note tells you how to integrate a HalCoGen project into Keil.
It is not a must to use PBIST. But, the code for this module is not fully compatible for TMS570LS20x series and TMS570LS31 series.
Good luck,
Haixiao
If you use JLink and Keil uVision IDE, please use startup_RM48.S for your test. The latest uVision contains the startup files for LS3x and RM48 devices.
Regards,
QJ
I use halcogen integrate code for tms570ls3137,it can download flash,and work rightly,but interrupt don't work. I use GIO interrupt and CAN interrupt,but don't enter interrupt. Please help me and wish tell me why. Thanks very much!
If you are using HalCoGen 2.11 or earlier version, the HalCoGen doesnot enable the CPU interrupt for you automatically. Please add sth like:
asm(" cpsie if");
In your sys_main.c to enable the FIQ and IRQ.
Regards,
Haixiao
I have two questions.I use TMS570LS3137(PGA).
1): I use HalCoGen3.00 ,it can enter interrupt.But when I after download to flash,power on ,my board cann't work ,when I reset ,it works .I don't why. My board has power on reset.
2)I want to use RTP function,but when I use RTP regster,my program stop at " b dataEntry ".
please give me some advices! thanks very much !