Forum: µC & Digital Electronics when code runs from SDRAM,Flash Init does not work

von Vani A. (blquest)

Rate this post
0 useful
not useful

We are using AT91SAM9263 processor.We are utilizing

1. ROMBoot to copy bootstrap(Atmel supplied) into internal SRAM.

2. bootstrap code(Atmel supplied) copies the data flash contents to 
SDRAM and then executes from there.

While we are running our application in SDRAM,if we want to load a new 
application in Flash, J-Link is not able to initialize the flash to gain 
access to program the device.

Please help us by providing the reason for this behaviour as well as the 
solution if any.

your reply awaited.


von no one (Guest)

Rate this post
0 useful
not useful
Maybe u disabled the JTAG in ur code?

what about the AT91SAM9 manual ... there should be some paged about the 
boot strategies.

Aren't there any pins to configure the first boot source? U could point 
at a non working source and than try to flash.

good luck


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.