Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Flashing with SD instead of DataFlash?
PostPosted: Fri Jul 13, 2007 11:01 am 
Offline

Joined: Fri Jul 13, 2007 10:32 am
Posts: 1
Location: Oslo, Norway
Total n00b here so I apologize if this question is "basic" :)

I just received a AT91SAM9263-EK kit and I'm trying to flash it with SAM-BA 2.4. So I run the batch script that comes on the CD and it looks good, but I get the following error:
Code:
-I- Enable the SPIO
-I- Waitfor dataflash ready (bit7 of the status register)
-E- DataFlash Not Detected
-I- === Erase all the DataFlas blocs and test the erasing ===
-I- === Load the bootstrap: dataflash_at91sam9263ek in the first sector ===
-I- File size = 3902 byte(s)
-E- Script File AT91SAM9263_demo_linux.tcl not found: AT91C_ERR2

I assume the second error is a result of the first and I assume the first error is because I tried to use a SD card instead of a DataFlash card in J9. Is all that valid? Do I really need a DataFlash card to flash this thing?

Finally, do any flashing tools exist for Linux?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 20, 2008 3:33 pm 
Offline

Joined: Tue Aug 19, 2008 11:41 am
Posts: 3
Did you solve this issue?

I am trying to run the timesys demo with a 2GB Secure Digital card.

For me all seems ok before the AT91C_ERR2 error. I am using Atmels ISP v1.10 (with patch) (I've tried 0.8 & 1.11 also, resulting in other errors)

Anyone who knows what could be wrong?

------------------
-I- Waiting ...
connection : \usb\ARM0
board : AT91SAM9263-EK
target(handle) : 18018688
read chip ID : 0x019607A2 at addr: 0xFFFFEE40
-I- Found processor : AT91SAM9263 (0x019607A0)
script file : .\timesys-bsp-9263-script.tcl
-I- Init SPI0 for DataFlash interfaces
-I- Configure SPI0 PIOs
-I- Enable PMC for SPI0
-I- Reset the SPI0
-I- Configure SPI0 in Master Mode (no CS selected)
-I- Configure SPI0 CS0 for DataFlash AT45
-I- Disable the RX and TX PDC transfer requests
-I- Reset all Counter register Next buffer first
-I- Enable the RX and TX PDC transfer requests
-I- End of Init_DataFlash
-I- Switch to the correct PCS of SPI0 Mode Register (Fixed Peripheral Selected)
-I- Chip Select 0 Selected
-I- Enable the SPI0
-I- Wait for dataflash ready (bit7 of the status register)
-I- Writing Boot File .\timesys-bsp-9263-bootstrap.bin
-I- File size = 4440 byte(s)
-E- Script File .\timesys-bsp-9263-script.tcl not found: AT91C_ERR2


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: