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 support@ccsinfo.com

bootloader from PIC to PIC

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



Joined: 03 Dec 2005
Posts: 182
Location: Australia SA

View user's profile Send private message Send e-mail

bootloader from PIC to PIC
PostPosted: Mon May 29, 2006 4:55 pm     Reply with quote

Hi,
I am looking for a bootloader type setup where I can program a microchip from another microchip.

some assistance with this would be greatly appriciated, snipet of code, links etc.

Quote:
with the ARM7 processor, they have a boot loader where they use the DTR to reset the micro and then the RTS to trigger an interrupt to enable the boot-loader to download, the addition would be to resend a DTR pulse to reset the micro again without the RTS pulse when the programming has been finished.


I want a microchip to do something simular as quoted between micro to micro as well have PC connection to to enable this.

This progect is not a microchip programmer. I need to program the 2nd micro via the first micro from the PC.
(1st micro is the main IO, comms, bootloader to pic, perameters etc with the 2nd micro able to be programmed as required for IO functions as per site requirements)

Andrew


[/quote]
_________________
What has been learnt if you make the same mistake? Wink
asmallri



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

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

PostPosted: Mon Jun 05, 2006 12:31 pm     Reply with quote

I have a similar system. The master node uses a bootloader that can be placed in "transparent mode" in this mode the master node passes bootloader data and control traffic from the PC bootloader application (via RS232 interface) to the downstream node, in this case via RS485. In addition the downstream node bootloader also supports the ability to bootload a downstream intelligent data acquisition subsystem (MAX1483) via SPI. The PC application injects a custom Intel type 4 hex record to instruct the downstream PIC that subsequent bootloader records are destined for the SPI attached device.

This system has been running in the field for the last three years. The PIC code is written in assembler, The PC code in Delphi. If you are intested, you can buy a licence for the master node source code and PC application source code for US$50 and, for an extra $25, the source code for the downstream node.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
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