Bootloader delay - DSP56F807EVM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Bootloader delay - DSP56F807EVM

跳至解决方案
2,139 次查看
Txurfer
Contributor I
Hi all,
I´m programming a DSP56f807EVM with CW for 56800 r8.0 and I want to change  Bootloader Delay time Dinamically. Could someone help me on this topic? I´m trying in several ways but It doesn´t work.
Thanks in advance for any advice.
David
 
 
 
 
 
 
 
 
 
 
Add p/n to subject.


Message Edited by NLFSJ on 2007-11-28 06:29 AM
标记 (1)
0 项奖励
回复
1 解答
1,111 次查看
william_jiang
NXP Apps Support
NXP Apps Support
The linker command file should be changed.  Below is the command lines required to support bootloader:
        .ApplicationCode :
        {
              F_Pcode_start_addr = .;
  
              #Serial bootloader configuration section
              WRITEH(0xE9C8);          # H/W RESET vector: JSR 0x0086 instruction opcode. Application code starts at the address
              WRITEH(0x0086);          # 0x0080 when serial bootloader support is enabled. JSR insctruction have
                                       # to be placed at address 0x0080.
              WRITEH(0xE9C8);          # COP RESET vector: JSR 0x0086 instruction opcode. Application code starts at the address
              WRITEH(0x0086);          # 0x0080 when serial bootloader support is enabled. JSR insctruction have
                                       # to be placed at address 0x0080.
              WRITEH(0);               # Dummy word
              #Bootloader start delay in seconds
              # In this case, it is 5s
              WRITEH(0xfe00+5);         # Bootloader start delay config word at address 0x0085. Possible values 0-255.
         
              # .text sections
              OBJECT (F_EntryPoint, Cpu.c) # The function _EntryPoint have to be placed at the beginning of the code
                                       # section for proper functionality of the serial bootloader.
...

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,112 次查看
william_jiang
NXP Apps Support
NXP Apps Support
The linker command file should be changed.  Below is the command lines required to support bootloader:
        .ApplicationCode :
        {
              F_Pcode_start_addr = .;
  
              #Serial bootloader configuration section
              WRITEH(0xE9C8);          # H/W RESET vector: JSR 0x0086 instruction opcode. Application code starts at the address
              WRITEH(0x0086);          # 0x0080 when serial bootloader support is enabled. JSR insctruction have
                                       # to be placed at address 0x0080.
              WRITEH(0xE9C8);          # COP RESET vector: JSR 0x0086 instruction opcode. Application code starts at the address
              WRITEH(0x0086);          # 0x0080 when serial bootloader support is enabled. JSR insctruction have
                                       # to be placed at address 0x0080.
              WRITEH(0);               # Dummy word
              #Bootloader start delay in seconds
              # In this case, it is 5s
              WRITEH(0xfe00+5);         # Bootloader start delay config word at address 0x0085. Possible values 0-255.
         
              # .text sections
              OBJECT (F_EntryPoint, Cpu.c) # The function _EntryPoint have to be placed at the beginning of the code
                                       # section for proper functionality of the serial bootloader.
...
0 项奖励
回复