EmbeddedRelated.com
Memfault Beyond the Launch

using SAM-BA to program flash

Started by Ryan in AT91SAM ARM16 years ago 13 replies

Well I have given up on the ARM-USB-OCD. I think its defective. So now I am trying to use SAM-BA to program my AT91SAM7S64-EK and I still cant...

Well I have given up on the ARM-USB-OCD. I think its defective. So now I am trying to use SAM-BA to program my AT91SAM7S64-EK and I still cant get my code to execute. Here is what I am doing. I send my code to the start of available RAM, 0x202000. I checked the size of my .hex file before I sent it and I entered the size in bytes for the number of bytes to send. I can read it back and ...


PC CARD driver

Started by billy_embedded in AT91SAM ARM15 years ago 6 replies

Hello, I was developmenting the PC card driver of Wince5.0 with At91SAM9261. NOW ,I have met a problem: When I insert Comapct Flash card, it...

Hello, I was developmenting the PC card driver of Wince5.0 with At91SAM9261. NOW ,I have met a problem: When I insert Comapct Flash card, it works normally. when I read from the Storage card file, it works correctly. but when I write something to the CF card ,it will conflict with LCD.(TFT 640*480) , the LCD will shaking, and the Line is shown as error. the debug message is that: 0x87b204...


NVM bit 2 (Boot control) on SAM7X256

Started by James in AT91SAM ARM18 years ago 5 replies

I am trying to get to a point where my user interface can issue the commands to tell the processor to boot from loader (ROM) at next powerup...

I am trying to get to a point where my user interface can issue the commands to tell the processor to boot from loader (ROM) at next powerup instead of flash. The problem is that the code runs fine in single step mode in both ARM and THUMB modes, however ends up in the pabort_handler if it's run in either ARM or THUMB mode. At this point it is a mear annoyance, however I would like to k...


Interrupt example that compiles with GNU tool chain for AT91SAM7S256 (on Olimex SAM7P256 board)

Started by "Jesper K. Pedersen" in AT91SAM ARM14 years ago 2 replies

I am very much interested in an example software showing the workings of even just a "simple" (massive understatement) interrupt. As I can...

I am very much interested in an example software showing the workings of even just a "simple" (massive understatement) interrupt. As I can only access my board via the Samba it must be either running from ram or able to be programmed in flash via Samba (I do not have any jtag connection available). My system consist of : Developement server running : Debian 5.0 arm-elf-gcc (GCC...


SAM-BA isn't modifying values, what am I doing wrong here

Started by "evan.miller530" in AT91SAM ARM13 years ago 3 replies

I have recently installed AT91-ISP v1.12, and am trying to modify memory on my AT91SAM7S256 using SAM-BA. The problem I am having is after...

I have recently installed AT91-ISP v1.12, and am trying to modify memory on my AT91SAM7S256 using SAM-BA. The problem I am having is after connecting, SAM-BA doesn't modify memory values in the internal flash or ram. When I send a file, changes are not made, and similarly when I try to manually change a single memory value, the changes are not made. I have followed the instructions for loading ...


Lots of AT91SAM9261-EKs with bad NAND flash?

Started by Dan Lyke in AT91SAM ARM15 years ago 1 reply

I've got a script to load my Linux compilation on to an AT91SAM9261-EK. It works just fine on several different devices. We've also had a few...

I've got a script to load my Linux compilation on to an AT91SAM9261-EK. It works just fine on several different devices. We've also had a few where, despite the script running just fine, no errors from SAM-BA, Linux won't load the JFFS2 root filesystem. We don't have a sample size large enough to be statistically significant, but that we've run into this with several devices bothers us a...


WiFi not installed on SAM9263

Started by suse auto in AT91SAM ARM14 years ago 9 replies

Hi, My journey to intergate a SDIO Wifi card to the AT91SAM9263 has reached some stage. Following are the steps: 1. kernel 2.6.27 + AT91...

Hi, My journey to intergate a SDIO Wifi card to the AT91SAM9263 has reached some stage. Following are the steps: 1. kernel 2.6.27 + AT91 patches are compiled and downloaded to the data flash using U-boot 2. libertas source code is compiled. Both libertas.ko and libertas_sdio.koare inserted. 3. i have copied sd8686.bin and helper_sd.bin (renamed to sd8686_helper.bin) in /lib/firmware/ dir...


Custom Board and SAM-BA

Started by in AT91SAM ARM18 years ago 12 replies

I have a custom board designed with SAM7X256. I have successfully runned some applications on the Board via programming JTAG. However, I cannot...

I have a custom board designed with SAM7X256. I have successfully runned some applications on the Board via programming JTAG. However, I cannot run SAM-BA boot. I have tested USB port of board and it is working. I'm erasing the flash ( via TST pin ). But I cannot emulate sam-ba on PC. I tried both atm6124.inf and atm6124ser.inf. BTW, I can program AT91SAM7X-EK via SAM-BA. Windows sees my boar...


How to correctly use brownout interrupt ?

Started by "sgimin.tw" in AT91SAM ARM18 years ago 2 replies

Dear sirs, I want to use the brownout interrupt to store some information into internal flash before power-off, but I am not sure that the...

Dear sirs, I want to use the brownout interrupt to store some information into internal flash before power-off, but I am not sure that the interrupt actually happens. My sequence is as follows: 1. Set GPNVM bit0 and Clear bit1 to enable brownout detector. 2. Set BODIEN in reset controller. 3. Configure System interrupt (SYSIRQ) function and enable it. And the interrupt function s...


mmc not detected on AT91SAM9263 board

Started by suse auto in AT91SAM ARM14 years ago 4 replies

i am using SAM9263K eval board to integrate wifi card from gemtek (*GM9601* ) with marvel chip 88w8686. i compiled the linux kernel 2.6.30...

i am using SAM9263K eval board to integrate wifi card from gemtek (*GM9601* ) with marvel chip 88w8686. i compiled the linux kernel 2.6.30 with patches from AT91. kernel is booting up from data flash. I am not seeing the 'mmc' getting mounted while kernel bootup. also I don't see 'eth1' device when I run "ifconfig -a" command. I am thinking tha


AT91SAM7X security bit

Started by Nick Howes in AT91SAM ARM16 years ago 10 replies

I need to ensure the security bit is set, so I have a check in my startup code. However, when it executes I get a watchdog timeout - it...

I need to ensure the security bit is set, so I have a check in my startup code. However, when it executes I get a watchdog timeout - it seems to work because subsequently it passes the check. Here's my code: during initialization: if (!(AT91C_BASE_MC-> MC_FSR & AT91C_MC_SECURITY)) { //check that flash security bit is set AT91C_BASE_MC-> MC_FMR = (FMCN_1_0_US < < 16) |


IAR linker setting for bootloader

Started by liew...@kenetics-group.com in AT91SAM ARM16 years ago 1 reply

Hi all, I have a bootloader which is located at flash memory 0x0000 to 0x4000 and ram memory 0x0000 to 0x2000. The bootloader itself has...

Hi all, I have a bootloader which is located at flash memory 0x0000 to 0x4000 and ram memory 0x0000 to 0x2000. The bootloader itself has enabled the remap feature. Now, I wish to write my application in IAR but I have no idea on how to write my linker setting (*.xcl). Here is my non-working example. Any expert who can hint what was wrong? All kind of hints will be greatly appreciated. //****...


AT91SAM7SE512 - Bootloader problem

Started by v333k in AT91SAM ARM16 years ago 5 replies

I am working with the AT91SAM7SE512 chip on a custom built board. I was trying to erase the flash and enter in the bootloader SAM-BA, but I...

I am working with the AT91SAM7SE512 chip on a custom built board. I was trying to erase the flash and enter in the bootloader SAM-BA, but I couldn't get the chip to enumerate. I checked the documentation for this chip and I realized that the USB requirement is an 18.432 MHz Quartz crystal. The board we designed is using a 20.0 MHz crystal. Is there a way to get this 20.0 MHz crystal runni...


how much time does the helix mp3 decoder take to decode for one frame on sam7s

Started by naderus2000 in AT91SAM ARM18 years ago 9 replies

hi, i want to know how much time does the helix mp3 decoder take to decode for only one frame for 44.1 khz sample rate.(1152 samples) does...

hi, i want to know how much time does the helix mp3 decoder take to decode for only one frame for 44.1 khz sample rate.(1152 samples) does any one test it? i have to fill the 1152 buffer with the raw data in about less than 26 ms for real time playing. lpc2138 do it for about 13 ms @ 60 MHz from flash. i'm confusing to choice s128 or s256 to buy. if the code can run enough fast from...


USB connection Failing for olimex SAM7EX256 board

Started by skillgames2004 in AT91SAM ARM16 years ago 3 replies

Hi All, I recently bought Olimex SAM7EX256 board. When I connect it to the USB port, it is not getting recognized by the WinXP. If I start...

Hi All, I recently bought Olimex SAM7EX256 board. When I connect it to the USB port, it is not getting recognized by the WinXP. If I start SAM-BA v2.6 and try to connect to \usb\ARM0, it says 'Failed to open Connection'. I tried Erasing Flash by ERASE pin as per this tutorial http://www.sparkfun.com/datasheets/DevTools/SAM7/Your%20Atmel%20Board%20May%20Not%20Be%20Dead.pd f and also TST pi


Need help for custom board based on At91SAM9260.

Started by Srinivasulu Reddy in AT91SAM ARM17 years ago 1 reply

I am building a custom board based on At91SAM9260. I am using BuildRoot to build the Bootstrap, Kernal and RFS.I am planning to use the UBOOT...

I am building a custom board based on At91SAM9260. I am using BuildRoot to build the Bootstrap, Kernal and RFS.I am planning to use the UBOOT available from Atmel FTP. Can anybody guide me on the following. 1) Where can I configure the SDRAM 2) I am planning to store the bootstrap,Uboot,Kernal and RFS in the NAND Flash. How can I configure the NAND for the same. How can I upload the fi...


max MIPS of at91sam7s64

Started by nader chinichian in AT91SAM ARM18 years ago 4 replies

hi, i read in the datasheet that s64 with up to 55 MHZ & the MIPS is 0.9 mips/mhz so it can up to 49.5 MIPS. but in the a app note...

hi, i read in the datasheet that s64 with up to 55 MHZ & the MIPS is 0.9 mips/mhz so it can up to 49.5 MIPS. but in the a app note i read the max speed for reading the flash is 33 ns give the max 27 mips. so  i want to s64 can work with 49.5 mips or not?  



Memfault Beyond the Launch