Minimig Discussion Forum

Discussing the Open Source FPGA Amiga Project
It is currently Tue Aug 22, 2017 10:17 pm

All times are UTC




Post new topic Reply to topic  [ 40 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: ARM firmware: ASB140501
PostPosted: Thu May 29, 2014 10:37 am 
Offline

Joined: Thu Sep 10, 2009 7:10 am
Posts: 7
Quote:
Until now I never need a .HEX file for ARM flash.
Since no other tool worked for me too, I installed a WinXP (32Bit SP2) in VBox and used the SAM-PROG tool from Atmel to flash the ARM chip via USB.
This is the best solution for me.


Would you explain how to use SAM-PROG please ?, with this tool on a windows XP 32 bits, connected by USB I don't know if the Arm board is detected (windows has normally detected it), the write flash button stay greyed after choosing the bin file, it un-grey when I tick and untick "Auto Mode" but finally clicking on it does nothing.

EDIT : Forget it, it is OK, finally SAM-PROG worked with a clean Windows XP installation on Virtual Machine, it was certainly a driver problem before.
Best regards,


Thanks by advance.


Top
 Profile  
 
 Post subject: Re: ARM firmware: ASB140501
PostPosted: Thu May 29, 2014 1:59 pm 
Offline

Joined: Mon Dec 01, 2008 9:58 pm
Posts: 1568
Location: .de
First check if the ARM chip is present in the Device Manager.
It must be listed in the USB device section as "atm6124.Sys ATMEL AT91xxxxx Test Board"

After the driver is working right, the SAM-PROG tool should say "Active Connection: 1".
Therefor the ARM chip must be in its Bootloader mode, also must be connected to USB AND plugged into the Minimig board with active power supply!
Then the "Write Flash" button will be useable.

_________________
_____________________________
JMP $00000BED ; will guru-meditation until next morning


Top
 Profile  
 
 Post subject: Re: ARM firmware: ASB140501
PostPosted: Thu May 29, 2014 4:32 pm 
Offline

Joined: Thu Sep 10, 2009 7:10 am
Posts: 7
Hello,

Finally upload is OK : the problem was that the usb device was not the one you indicated (atm6124.Sys ATMEL AT91xxxxx Test Board) (When trying to use SAM-BA, I installed another atmel driver coming from the drv folder of the SAM-BA install).
After that, there were all the steps you described.
Thanks a lot for your help, my minimig is up now ! :-)


Top
 Profile  
 
 Post subject: Re: ARM firmware: ASB140501
PostPosted: Wed Aug 20, 2014 4:44 pm 
Offline

Joined: Thu Dec 11, 2008 5:38 pm
Posts: 36
Hi,
I got a problem : I tried to upgrade my ARM Minimig with the ASB140501 firmware.
I had AYQ100818 firmware before.
The upgrade procedure seemed OK but when the Minimig reboots now the blue screen freezes with this message:

Code:
BootLoader BYQ100413
FPGA core FSB140414
ARM firmware ASB140501

SPI clock: 24 Mhz

Configuration file not found...

....

NO "KICK   ROM" file!
NO "KICK   ROM" file!

however all the files are well on the SD card...

the red light is on and the green is blinking.

What is wrong ? maybe the core file must be changed by another version ? I don't know.

Many thanks for your help.


Top
 Profile  
 
 Post subject: Re: ARM firmware: ASB140501
PostPosted: Wed Aug 20, 2014 5:54 pm 
Offline

Joined: Mon Dec 01, 2008 9:58 pm
Posts: 1568
Location: .de
Hm strange. Until now I had no trouble in loading files with the new ARM firmware.
The FPGA core file is OK, it already was loaded and the release date is matching.

Could you please run a "checkdisk" on the sd-card filesystem, it may be damaged due to writing the new firmware file on it.
If this problem stay, you may have to disable the Fast-SPI mode by holding down PGM_RESET botton while powering-up the Board, to ensure a save data transfer.

_________________
_____________________________
JMP $00000BED ; will guru-meditation until next morning


Top
 Profile  
 
 Post subject: Re: ARM firmware: ASB140501
PostPosted: Wed Aug 20, 2014 8:08 pm 
Offline

Joined: Thu Dec 11, 2008 5:38 pm
Posts: 36
Thanks for your fast reply boing.

I have no error on the SD card. I have even tested with another one.

I hold down PGM_RESET while powering-up but nothing happens, the minimig resets and freezes again with the same message and SPI clock is still 24 Mhz.


Top
 Profile  
 
 Post subject: Re: ARM firmware: ASB140501
PostPosted: Wed Aug 20, 2014 8:22 pm 
Offline

Joined: Thu Dec 11, 2008 5:38 pm
Posts: 36
Now, do I have to use SAM-BA to re-flash the ARM with the previous firmware (AYQ100818 ) ? :(


Top
 Profile  
 
 Post subject: Re: ARM firmware: ASB140501
PostPosted: Thu Aug 21, 2014 2:11 pm 
Offline

Joined: Mon Dec 01, 2008 9:58 pm
Posts: 1568
Location: .de
Oh, I made a mistake and mean the MENU button hold down while power-up, sorry.
Then the SPI clock should say 8MHz in the bootloader screen.

If this do not help, a reflash to AYQ100818 would be a good thing to compare.
Actually I made no changes to the SPI or data transfer routines in the source. The only difference may be caused by the used compiler (Linux gcc).

_________________
_____________________________
JMP $00000BED ; will guru-meditation until next morning


Top
 Profile  
 
 Post subject: Re: ARM firmware: ASB140501
PostPosted: Thu Aug 21, 2014 3:39 pm 
Offline

Joined: Thu Dec 11, 2008 5:38 pm
Posts: 36
With the menu button now it well says : SPI 8 Mhz but it still freezes.... :(

I have to cut the first 512 bytes of the firmware.upg (AYQ100818) to obtain the .bin

I can't find a working download link for sam-prog, do you have one ?

I tried sam-ba but I don't know what is the exact model of the ARM controller ?

Thanks


Top
 Profile  
 
 Post subject: Re: ARM firmware: ASB140501
PostPosted: Fri Aug 22, 2014 6:57 pm 
Offline

Joined: Mon Dec 01, 2008 9:58 pm
Posts: 1568
Location: .de
majikeyric wrote:
I can't find a working download link for sam-prog, do you have one ?


This link should help: http://www.atmel.com/images/Install_AT91-ISP_v1.12.exe
The tool works fine under WinXP-SP2 in a VBox here.

_________________
_____________________________
JMP $00000BED ; will guru-meditation until next morning


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 40 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: No registered users 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Translated by Xaphos © 2007, 2008, 2009 phpBB.fr