generalised boot loader

Post your requests and ideas on the future development of mikroBasic PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
RexSon
Posts: 25
Joined: 13 Oct 2010 10:29

generalised boot loader

#1 Post by RexSon » 23 Mar 2011 19:17

It would be nice to have a generalised boot loader.
Let me explain.
Boot loading requires two pieces of code (chunk) one at either end of the chosen communication medium [example PC->RS232 -> RS232+PIC24chip]. (example: Full duplex RS232, half duplex RS485, half duplex SPI, even half duplex Ethernet)

Each "chunk" of code needs to deal with several issues at either end of the communications channel. One of these is the actual hardware interface which will change depending on the type of comms channel to be used.
However all the other issues within each chunk should remain the same. So it would be entirely possible to create a boot loader with the hardware parts missing so that they can be implemented as required in a separate module. Of course it would be useful to have an example to work from; say RS323 interface, half duplex.

Many boot loaders for various chips tend to embedded the comms hardware handler and so it is difficult to extricate the handler and add another comms hardware handler. However if you start off with the idea of a separate hardware dependant module it should be relatively easy to add the hardware module - even for two tin cans and a length of wet string :D !!

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: generalised boot loader

#2 Post by filip » 24 Mar 2011 13:15

Hi,

This is a nice proposal, I shall pass it to our developers.

Regards,
Filip.

Post Reply

Return to “mikroBasic PRO for dsPIC30/33 and PIC24 Wish List”