writing WMS into FLASH_CR0 causes undefined instruction exception.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-11-22 3:21 AM
writing WMS into FLASH_CR0 causes undefined instruction exception.
- Labels:
-
Legacy Products
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-09-09 4:27 AM
Its difficult to debug an elf file!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-09-09 4:39 AM
Unfortunately to build it yourself you'd need the sources for all of eCos/Redboot which is 170MB. I guess the only thing you can properly check is whether it causes an exception or not. :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-09-09 5:09 AM
After runnig the elf file, it does not causes an exception.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-09-09 5:26 AM
How very strange.
What board do you have? I use the STR710FZ2T6 and I use the Keil ulink to upload the elf to the board through the JTAG. I have made a version of the elf which, if not interrupted by the exception, should 1) erase one sector (8k) of flash memory at 0x400c0000, write the pattern 0x11112222 at flash location 0x400c0000 and then just sit in an infinite loop. The function that does this is called flash_hwr_init and sits at memory location 0x400039f4. If you could check if this is successful on your board I'd be very grateful. Thanks, m@- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-09-09 5:53 AM
I'm sorry but the code seems not working! it do nothing!!
I'm using RVDK to load your elf file to the board via JTAG.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-09-09 5:57 AM
Ok, well thanks for trying.
What hardware did you try it on? m@- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-11-22 3:11 AM
The library will need initialising in the debug build.
The function debug needs calling to setup the peripheral pointers. Regards sjo
- « Previous
-
- 1
- 2
- Next »