Apr 16, 2015
02:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 16, 2015
02:41 PM
Hi everyone,
I was trying to use XMCload to flash XMC4400 using ASC bootloader. Download completes but when I recycle board power, program is not executed properly (probably it crashes).
My program occupies range 0xc000000 up to 0xc0007fff then it jumps to 0xc020000 and occupies rest of the sectors.
Comparing programmed flash content with HEX file I have discovered that last page 0xc000700 is not programmed at all ! All the rest of flash content is correct.
Actually this last page of my program in HEX file is not complete but finishes 0xc0007FE.
I suspect that XMCloader is not able to program uncomplete page!?
Does anyone come accross similar problem? Any fast sugestions before I dive deep into analysing and finding solution?
I am using unmodified version of ASCLoader.hex for xmc4400 and entire package downloaded from Infineon site.
Thank you
rum
I was trying to use XMCload to flash XMC4400 using ASC bootloader. Download completes but when I recycle board power, program is not executed properly (probably it crashes).
My program occupies range 0xc000000 up to 0xc0007fff then it jumps to 0xc020000 and occupies rest of the sectors.
Comparing programmed flash content with HEX file I have discovered that last page 0xc000700 is not programmed at all ! All the rest of flash content is correct.
Actually this last page of my program in HEX file is not complete but finishes 0xc0007FE.
I suspect that XMCloader is not able to program uncomplete page!?
Does anyone come accross similar problem? Any fast sugestions before I dive deep into analysing and finding solution?
I am using unmodified version of ASCLoader.hex for xmc4400 and entire package downloaded from Infineon site.
Thank you
rum
7 Replies
Not applicable
Apr 17, 2015
03:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 17, 2015
03:21 AM
Hi rum,
Are you using XMC4400 Application Kit? Do you know that the VCOM on XMC4400 board are not connected to P1.4 and P1.5 pins used by Bootstrap loader?
You can try to use Memtool to flash the device.
BR,
Zain
Are you using XMC4400 Application Kit? Do you know that the VCOM on XMC4400 board are not connected to P1.4 and P1.5 pins used by Bootstrap loader?
You can try to use Memtool to flash the device.
BR,
Zain
Apr 17, 2015
06:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 17, 2015
06:00 AM
Hi Zain,
I am using my target and as I said download through ASC works! There is anther problem as I descirbed well. I know of Memtool and Yes it is working alternative. I was using XMCloader since it is quite simple and small program.
rum
I am using my target and as I said download through ASC works! There is anther problem as I descirbed well. I know of Memtool and Yes it is working alternative. I was using XMCloader since it is quite simple and small program.
rum
Not applicable
Apr 20, 2015
12:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 20, 2015
12:05 AM
Hi rum,
Do you mean that the same code works when using Memtool to program but doesn't work properly if use ASC Bootloader to program the device?
Best regards,
Sophia
Do you mean that the same code works when using Memtool to program but doesn't work properly if use ASC Bootloader to program the device?
Best regards,
Sophia
Apr 23, 2015
03:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 23, 2015
03:59 PM
Yes, memtool works. ASC loader doesn't. It has problem programming "last" uncomplete page. See description of condition above.
rum
rum
Not applicable
Apr 27, 2015
02:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 27, 2015
02:04 AM
Hi rum,
Would you mind to share your project for our analysis?
Best regards,
Sophia
Would you mind to share your project for our analysis?
Best regards,
Sophia
Apr 30, 2015
03:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 30, 2015
03:27 PM
Hi Sophia,
I cannot share production code, it is a complex project. The condition can be easily recreated by following description:
Program occupies range 0xc000000 up to 0xc0007fff then it jumps to 0xc020000 and occupies rest of the sectors.
Comparing programmed flash content with HEX file I have discovered that last page 0xc000700 is not programmed at all ! All the rest of flash content is correct.
Actually this last page of my program in HEX file is not complete, but finishes 0xc0007FE.
I suspect that loader cannot program uncomplete page in the "middle" of HEX file.
rum
I cannot share production code, it is a complex project. The condition can be easily recreated by following description:
Program occupies range 0xc000000 up to 0xc0007fff then it jumps to 0xc020000 and occupies rest of the sectors.
Comparing programmed flash content with HEX file I have discovered that last page 0xc000700 is not programmed at all ! All the rest of flash content is correct.
Actually this last page of my program in HEX file is not complete, but finishes 0xc0007FE.
I suspect that loader cannot program uncomplete page in the "middle" of HEX file.
rum
Not applicable
May 04, 2015
02:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 04, 2015
02:50 AM
Hi rum,
The ASC Bootsloader is not updated. We will update it soon for downloading. The new release will resolve the issue by Segger VCOM driver. Then, it should be working.
Best regards,
Sophia
The ASC Bootsloader is not updated. We will update it soon for downloading. The new release will resolve the issue by Segger VCOM driver. Then, it should be working.
Best regards,
Sophia