Atmel website | ARM Community | AVR freaks | Technical Support
Banner
Welcome to AT91SAM Community Forum
http://www.at91.com/samphpbb/

Flash initialization error.
http://www.at91.com/samphpbb/viewtopic.php?f=15&t=18659
Page 1 of 1

Author:  nishchay [ Fri Sep 25, 2009 9:15 pm ]
Post subject:  Flash initialization error.

Greetings,
I am building a bare metal project on the SAM7x256.
I am using SAM-BA for the first time. I am using SAM-BA 2.9 in Linux which uses the usb serial driver. I get the following output messages when I try to execute a the given example tcl script.

-I- Waiting ...
-I- TCL platform : Linux
-I- SAM-BA CDC 2.9 rc6 on : linux
-I- Retrieved arguments from command line :
-I- argv 0 : /dev/ttyUSB0
-I- argv 1 : at91sam7x256-ek
-I- argv 2 : bob/software/sam-ba_cdc_2.9.linux_cdc_linux/usr/Flash_example.tcl
-I- Connection : /dev/ttyUSB0 (target(comType) = 1)
-I- Board : at91sam7x256-ek
-I- Traces Level : 4
-I- target(handle) : file5
Read device Chip ID at 0xfffff240 --- get 0x275b0940
-I- Found processor : at91sam7x256 (Chip ID : 0x275b0940)
-I- Loading applet isp-flash-at91sam7x256.bin at address 0x202000
-E- Error during FLASH initialization

I looked around a lot but could find no elaboration of the Error during Flash initialization.
What could it possibly be? How would I be able to solve it?
Is there an alternative to SAM-BA for programming the AT91 SAM7x256?

Thank you.

Author:  dbouius [ Wed Mar 10, 2010 11:52 pm ]
Post subject:  Re: Flash initialization error.

Did anyone solve this issue? I am seeing the same problem with the same software version.
I disabled the check in the tcl file so that SAM-BA starts up and I can read and write to SRAM.
Any insights?
Cheers,
Derek

Author:  dbouius [ Thu Mar 11, 2010 12:12 am ]
Post subject:  Re: Flash initialization error.

Found a link for 2.8 and that works fine, so something is broken in 2.9 for the AT91SAM7XC-EK.
ftp://www.at91.com/devel/tools/sam-ba_c ... nux_01.zip

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/