Mechanique Bootloader


Closed Thread
Results 1 to 31 of 31

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,615


    Did you find this post helpful? Yes | No

    Default Re: Mechanique Bootloader

    I think "ALL" 16F and 18F might be taking it slightly too far as the PIC still needs to be able to "self write" AND it needs to have an UART. But what Dave is aiming at is the UMC bootloader in Microcode studio. It provides the "framework" for you to create a bootloader .hex file for any device, there's no longer any need to rely on pre-built files.

    It's something I've yet to play around with but I see there are documentation available, always a good place to start.

    /Henrik.

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: Mechanique Bootloader

    Henrik, what bootloader do you use?

    Robert
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  3. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,615


    Did you find this post helpful? Yes | No

    Default Re: Mechanique Bootloader

    I've gotten away with using the "normal" MicroCodeLoader and the stock Amicus/Proton loader on my Amicus18 boards. But after "upgrading" to Windows 10 the Amicus loader no longer works due to its non signed driver so I need to figure the UMC loader stuff out to get those going (or just use a PICKit3 (but it's a lot slower than bootloading).

  4. #4
    Join Date
    Mar 2017
    Posts
    28


    Did you find this post helpful? Yes | No

    Default Re: Mechanique Bootloader

    What if we buy Mechanique Microcode Loader for 11.95 pounds from Mechanique?

    Can we use the chips IT supports and crossreference that with what PICBasic Pro supports

    and the use THOSE chips?

    Will it even work with PICBasic Pro at all first of all?

    Thanks!

  5. #5
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,615


    Did you find this post helpful? Yes | No

    Default Re: Mechanique Bootloader

    Yes, it'll work with PPB but you still need a real device programmer to get the bootloader into the chip the first time.

    With Microcode Loader comes a bunch of .hex files, matched for specific devices running at specific clock frequencies. You need to take the appropriate .hex file, use a device programmer (PICKit3 for example) and program the PIC with that file. Only from that point and only if you actually run the PIC at the clock frequency the bootloader file was built for will you be able to bootload the chip using the PC application.

    /Henik.

  6. #6
    Join Date
    Mar 2017
    Posts
    28


    Did you find this post helpful? Yes | No

    Default Re: Mechanique Bootloader

    Henrik

    Thanks!

    Okay. It's a worthwhile product then. Good.

    If you go 29.95 for editor you get bootloader and a better editor. We'll leave that alone for the meantime.

    Will Microcode bootloader work with Proton?

    Have not checked supported chips in Proton if their are any at all except their Amicus 18.

    I think it would be a stretch to ask if bootloader worked with Swordfish.

  7. #7
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,615


    Did you find this post helpful? Yes | No

    Default Re: Mechanique Bootloader

    Actually, the bootloader doesn't know a thing about which compiler you used to generate the .hex file so it should work equally well with Proton, Swordfish, C18, MicroPascal or any other compiler but you need to make sure that the compiler you're using knows about the existence OF the bootloader so it offsets the program in order to not overwrite the bootloader startup code/call. With PBP you use DEFINE LOADER_USED 1 to do that for the Microcode Loader.

    In fact, Swordfish is developed by the same people/company (Mecanique) doing the MicroCodeStudio and MicroCodeLoader. The Proton IDE looks VERY similar to MicroCodeStudio so I'm willing to bet that they are pretty much the same with some minor tweaks depending on which compiler is used (ie Crownhill, the developers of Proton (and owners of this site) simply buys the IDE from Mecanique, just like MeLabs is doing). Screenshots on the both the Proton website and Swordfish website shows the same MicroCodeLoader as with PBP.

    The Amicus18 does NOT come preloaded with MicroCodeLoader firmware and does NOT work with the MicroCodeLoader without changing the VID/PID parameters of the FTDI serial port chip on the board. For more information on that, see this thread.

    /Henrik.

Similar Threads

  1. Bootloader
    By Rob Martin in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 15th April 2012, 19:46
  2. Where is the bootloader ?
    By Bonxy in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th September 2011, 13:43
  3. PROBLEMS ORDERING PICBASIC PRO mechanique.co.uk
    By Michael Wakileh in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 27th September 2009, 19:11
  4. bootloader
    By pierre2030 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 28th January 2007, 21:24
  5. bootloader
    By Mostafa in forum General
    Replies: 6
    Last Post: - 22nd February 2006, 12:34

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts