Bootloader delay - DSP56F807EVM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Bootloader delay - DSP56F807EVM

ソリューションへジャンプ
2,600件の閲覧回数
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,572件の閲覧回数
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,573件の閲覧回数
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 件の賞賛
返信