Jan 15, 2016
11:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 15, 2016
11:10 AM
Hi Infineon,
the Asc Bootloader example code for Dave4 on your website is not running. Compiling, linking and loading without any breakpoints set results in the following debugger window:
There is a bug in the file linker_script.ld, line 25, which locates code into the flash instead into the PSRAM:
instead
.text : AT(ORIGIN(FLASH_1_uncached))
itmust be
.text : AT(ORIGIN(PSRAM_1))
then all runs fine:
There is another bug in the windows program:
XMCLoad.exe hangs when the loaded Intel Hex file contains records which are not align16, i.e. lowest address nibble not 0. The bug is hidden in file XMCLoad_API.cpp, line 665 contains wrong mode:
instead
bslHeader.mode = 4; //Erase mode
it must be
bslHeader.mode = 3; //Erase mode
Best regards,
Wolfgang
the Asc Bootloader example code for Dave4 on your website is not running. Compiling, linking and loading without any breakpoints set results in the following debugger window:
There is a bug in the file linker_script.ld, line 25, which locates code into the flash instead into the PSRAM:
instead
.text : AT(ORIGIN(FLASH_1_uncached))
itmust be
.text : AT(ORIGIN(PSRAM_1))
then all runs fine:
There is another bug in the windows program:
XMCLoad.exe hangs when the loaded Intel Hex file contains records which are not align16, i.e. lowest address nibble not 0. The bug is hidden in file XMCLoad_API.cpp, line 665 contains wrong mode:
instead
bslHeader.mode = 4; //Erase mode
it must be
bslHeader.mode = 3; //Erase mode
Best regards,
Wolfgang
5 Replies
Not applicable
Jan 16, 2016
07:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 16, 2016
07:09 AM
HI Wolfgang,
Please refer to the Application Note:
http://www.infineon.com/dgdl/Infineon-XMC4000_TOO_Bootloader-AN-v01_02-EN.pdf?fileId=db3a30433e4143b...
In the application note, it states the change in the linker file required. Did you follow the steps involved?
Regards,
Daryl
Please refer to the Application Note:
http://www.infineon.com/dgdl/Infineon-XMC4000_TOO_Bootloader-AN-v01_02-EN.pdf?fileId=db3a30433e4143b...
In the application note, it states the change in the linker file required. Did you follow the steps involved?
Regards,
Daryl
Jan 18, 2016
01:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 18, 2016
01:39 AM
Hi Daryl,
thanks for your answer,
yes, I know this details, but there is a misunderstanding:
the linker script file supplied with this example is already modified by your colleagues to load code into PSRAM, but the already modified file contains the mentioned bug.
Best regards,
Wolfgang
thanks for your answer,
yes, I know this details, but there is a misunderstanding:
the linker script file supplied with this example is already modified by your colleagues to load code into PSRAM, but the already modified file contains the mentioned bug.
Best regards,
Wolfgang
Jan 21, 2016
12:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 21, 2016
12:35 AM
Hi Wolfgang,
Thanks very much for your inputs, You are right. These are bugs in ASC BSL example codes. I will correct them in the next release. If you have further questions for ASC BSL example codes you can directly contact with me using guangyu.wang@Infineon.com.
Best regards
Guangyu
Thanks very much for your inputs, You are right. These are bugs in ASC BSL example codes. I will correct them in the next release. If you have further questions for ASC BSL example codes you can directly contact with me using guangyu.wang@Infineon.com.
Best regards
Guangyu
Not applicable
Jan 27, 2016
03:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 27, 2016
03:28 AM
I tried this demo today. So the Flash driver Code is not mapped to PSRAM in the demo. So do I need to map the Code to PSRAM or not. I only checked the DAVE Sample.
Thanks
mathias
Thanks
mathias
Jan 29, 2016
02:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 29, 2016
02:24 PM
Hi Mathias,
the Dave sample contains bugs in the linker script. When corrected, the code maps to PSRAM and runs fine. On which hardware did you test?
Regards,
Wolfgang
the Dave sample contains bugs in the linker script. When corrected, the code maps to PSRAM and runs fine. On which hardware did you test?
Regards,
Wolfgang