Quantcast
Channel: Hercules™︎ 安全微控制器论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 775

TMS570LS1114 Bootloader issue

$
0
0

Hi Expert

# 1 In the  underlying source code of Bootloader , the PacketWrite function aways keeped waiting status.   the PC machine always can't complete the datas from under level , what are the reasons?

Step1:Test PacketWrite funtion.


the code always stoped on the for loop ,I found the variable value of ulIdx as below:


#2 From the Bootloader  source code , I find  PacketRead func which always keep the waiting status,In the slave computer machine always cannot receive commands from the PC to send data, what are the reasons?

The routines which I download from  Ti website , where I changes are as follows:

#1  bl_config.h

#define  CAN_BIT  500000   /*can be 125K, 250K, 500K, 750K, 1000K. The default is 125K*/

#define  SYS_CLK_FREQ           160            //MHz

#2  flash_defines.h

#define TMS570LS11

#3  bl_dcan.c

g_ulForced =1 ;

I did not make other changes in the underlying code, I CAN card is broadly into science and technology, however source code is based on Ni' CAN.
In my PC source code,which accept thread and sending functions are through verified , in VS2010 ,I observed variables are normal, use another CAN accept sending procedure.Whether I need to make other changes in the underlying code?Such as PacketWrite and  PacketRead func  are required to rewrite for the CAN device changed?


# 3 when the PC machine complete the bootloader operating instructions, how to verify the bootloader functionality is implemented, and when the bootloader the underlying code downloaded to the microcontroller, PC start sending commands, How to check the status that I can't to check through CCS to know the writing datas . 

 

 


Viewing all articles
Browse latest Browse all 775

Trending Articles