BasicMicro - Forums

www.basicmicro.com
It is currently Sat Feb 04, 2012 6:52 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: End User Firmware Update
PostPosted: Fri Aug 13, 2010 3:26 pm 
Offline
Citizen

Joined: Thu Aug 12, 2010 8:44 am
Posts: 11
I would like to be able to send binary files to end users for them to flash to the Basic Atom Pro embedded in my product. Is there software available to do a simple transfer of code to the chip, without giving away source code for use with the IDE? The best solution would be to package an executable that would unpack, run an installer, and program the device by USB. Anything already written that brings me closer to that goal would be very helpful.

_________________
--scifiguy


Top
 Profile  
 
 Post subject: Re: End User Firmware Update
PostPosted: Fri Aug 13, 2010 5:41 pm 
Offline
Site Admin
User avatar

Joined: Thu Mar 01, 2001 11:00 am
Posts: 784
Location: Temecula, CA
We've made available a standalone binary loader app you can use.

BasicMicro BasicAtomPro Loader

The loader searchs for all sub folders and if it finds a project.ini file in a subfolder it adds that project to the drop down list. The first found is the first listed. If only one is found that one will be selected automatically. You can modify how the project displays in the loader app by supplying an image file as well as changing the instructions for loading your app in the project.ini file. The project.ini structure should be fairly obvious. If you have any questions let me know.

_________________
Nathan Scherdin
Basic Micro - Robotic Technology Evolved


Top
 Profile  
 
 Post subject: Re: End User Firmware Update
PostPosted: Sat Aug 14, 2010 9:20 am 
Offline
Citizen

Joined: Thu Aug 12, 2010 8:44 am
Posts: 11
Thank you!

_________________
--scifiguy


Top
 Profile  
 
 Post subject: Re: End User Firmware Update
PostPosted: Sun Aug 15, 2010 9:58 am 
Offline
Citizen

Joined: Thu Aug 12, 2010 8:44 am
Posts: 11
I have been trying out the AtomProLoader. Most of the things in the INI file are easily understood, but I have a few questions:

(1) What is the purpose of "DTR" on line 2 (I assume "data terminal ready" for RS232 hand shaking), and what options are there for this entry?

(2) What is the "25" for on the third line?

(3) Can this program be used with USB converters, and can I make it work on the Lab Board, with its built-in USB converter?

(4) When I click "Find," I get the error message "Unable to Load ISP-Pro.dll." Where can I get this DLL?

(5) When I click "Start," I get the error message "Incorrect Processor Detected." I tried changing the line that says "ATOMPRO28" to "ATOMPRO1" and "ATOMPROONE," but both gave the same error. What do I set it to so it will detect the AtomPro One?

Thank you.

_________________
--scifiguy


Top
 Profile  
 
 Post subject: Re: End User Firmware Update
PostPosted: Sun Aug 15, 2010 10:44 am 
Offline
Site Admin
User avatar

Joined: Thu Mar 01, 2001 11:00 am
Posts: 784
Location: Temecula, CA
1. This line can be DTR or RTS. This is the line used to reset the processor when programming

2. 25 is the reset hold time

3. Yes. You just need to set the correct reset line which I believe is RTS.

4. Ah. I'll have to look at that. It shouldn't care if the ISP-Pro.dll isn't there. For now it attached. Just unzip it and put it in the same folder at as the loader.exe

5. You can get that error if you are using the wrong reset pin as well. The Processor IDs for the ini file are:

ATOMPROONE
ATOMPRO24
ATOMPRO28
ATOMPRO40
ATOMPROARC32


Attachments:
AtomProLoader.zip [383.51 KiB]
Downloaded 54 times

_________________
Nathan Scherdin
Basic Micro - Robotic Technology Evolved
Top
 Profile  
 
 Post subject: Re: End User Firmware Update
PostPosted: Sun Aug 15, 2010 12:32 pm 
Offline
Citizen

Joined: Thu Aug 12, 2010 8:44 am
Posts: 11
Including the DLL made it work. Thanks!

_________________
--scifiguy


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

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


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

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

phpBB SEO