CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Bootloader from SD card

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
arocholl



Joined: 14 Dec 2008
Posts: 21

View user's profile Send private message

Bootloader from SD card
PostPosted: Sun Dec 14, 2008 7:02 am     Reply with quote

Hi there,

I'm looking for a bootloader that will get the data from a SD card.

This could be a potential way of how it could work:

* You have a PIC, and you remotely send the (large) new firmware over RS232
* As the PIC receives it, all the contents is stored on a SD card (that may have other things as well, irrelevant for the bootloader)
* After the whole firmware is received and checked from RS232 connection, the PIC reboots itself with a EPPROM flag byte that makes the bootloader code to load rather than regular application.
* Bootloader code rewrites the firmware from the SD card and then reset the PIC again, so it starts in normal mode with now new firmware.

Anybody knows something like this already available?

I have successfully worked with CCS SD driver, and CCS standard RS232 bootloader, but joining these two pieces into a new bootloader seems a quite large task, so if anything is available already I wouldn't reinvent the wheel.

Thanks in advance.
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

Re: Bootloader from SD card
PostPosted: Sun Dec 14, 2008 7:53 am     Reply with quote

arocholl wrote:
Hi there,

I'm looking for a bootloader that will get the data from a SD card.


I sell the source code for an SD/MMC bootloader for PICs. You can find the user manual which describes how to use the bootloader here:

http://www.brushelectronics.com/download/BE_SD_LDR_System.zip
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
arocholl



Joined: 14 Dec 2008
Posts: 21

View user's profile Send private message

PostPosted: Sun Dec 14, 2008 10:32 am     Reply with quote

Thanks for the pointer.

Unfortunately this is a hobby project for which $100 license is out of scope.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group