| Author | beginning argument ( Replies received: 4 ) |
| tar.tib |
Posted 26-02-2008 at 23:34   |

Registered on : 11-30-2009
Messages : 3
OFF-Line
|
Currently I am developing USB bootloader for ST912FA.
My board - IAR STR912-SK, toolbox - IAR4.41 and JLink.
At PC side I use DfuSe version 2.2 (Jan-2008).
At STR912-SK side I use "Device Firmware Upgrade" example from "STR7/STR9 USB developer kit software" version 1.0 (Jan-2007).
I configured STR9 to boot from BANK1 and loaded DFU example to BANK1.
I launch DfuSe Demo and try to upgrade my board, DfuSe Demo says "Upgrade successful!", but verifying fails with error "Matching not good. First difference at address 0x000003C0".
I read Flash from from address 0x80000 using SEGGER tools and found out that original data (.bin file which was used for creating .dfu file) and read data are almost identical but last 64 bytes of each kbyte of read data are set to 0x00:
0x3c0..0x3ff bytes set to 0x00,
0x7c0..0x7ff bytes set to 0x00,
0xbc0..0xbff bytes set to 0x00
and etc.
I have tried several .dfu files, my own and from "Device Firmware Upgrade" example, but result was the same.
Has anyone faced such a problem?
Any suggestions?
[ This message was edited by: tar.tib on 26-02-2008 23:38 ]
|
|
|
Profile
Quote
|
| jilisegiar |
Posted 27-02-2008 at 09:31   |

Registered on : 01-18-2009
Messages : 75
OFF-Line
|
I just tried the Device Firmware Upgrade example form um0290(V1.0) using IAR 4.42A/Jlink with STR912-SK board and it works as expected.
Do you have the same thing as attached image when trying to load for example the STR910-Eval_Audio Speaker.dfu image.
| Attachments : | DFU.JPG | | | |
|
|
|
Profile
Quote
|
| tar.tib |
Posted 27-02-2008 at 11:55   |

Registered on : 11-30-2009
Messages : 3
OFF-Line
|
Yes, I have the same image, but verifying completes with messagebox "Matching not good. First difference at address 0x000003C0".
|
|
|
Profile
Quote
|
| tar.tib |
Posted 27-02-2008 at 12:11   |

Registered on : 11-30-2009
Messages : 3
OFF-Line
|
Very strange thing, I tried the same sequence on another PC and it works perfect.
|
|
|
Profile
Quote
|
| milton.godinho |
Posted 14-11-2008 at 14:09   |

Registered on : 10-08-2009
Messages : 28
OFF-Line
|
Hi ! This DfUse application comes with a button to Enter DFU mode/ HID detach and leave DFU mode. Does anyone have a example of a HID firmware with DFU support, I mean a HID/DFU compliant device?
|
|
|
Profile
Quote
|