hi, I have designed board with AT91RM9200 microcontroller and I've got some problems with programming it... I wanted to program any bootloader into connected AT45DB041D dataflash. Right now I can't send data via DBGU - I thought it is MAX3232's fault but I replaced it and still nothing. However sending data from ARM to PC works ok.
Instead of programming dataflash with xmodem I tried to do it the other way:
I load bootloader into internal SRAM and it tries to write itself from SRAM to dataflash. I downloaded romboot bootloader from
When I try to program dataflash I get Data abort exceptions from different places in code... Maybe something isn't correctly initialized?
I also tried Darrell Harmon's bootloader - few days ago it programmed 8 pages of memory and failed on ninth page - now it sometimes works, sometimes not, yet I can't tell if something major have been changed by me. However external SDRAM memory test passed successfully:)
So here are my questions: What can be the cause of not working DBGU channel? Is it possible to program dataflash this way (SRAM -> Dataflash)? Maybe I should use oher bootloader / toolchain or something? How do I check if AT91RM9200 is operating correctly? Maybe there's some other way to program bootloader into dataflash? I'm new to programming ARM9's so maybe there's something wrong with linker script (I don't have any more guesses:/)
I would greatly appreciate any help;) best regards, Kuba