|
|
View previous topic :: View next topic |
Author |
Message |
Storic
Joined: 03 Dec 2005 Posts: 182 Location: Australia SA
|
bootloader from PIC to PIC |
Posted: Mon May 29, 2006 4:55 pm |
|
|
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? |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1634 Location: Perth, Australia
|
|
Posted: Mon Jun 05, 2006 12:31 pm |
|
|
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!! |
|
|
|
|
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
|