Jump to content

PIC bootloader problem [SOLVED]


vattern
 Share

Recommended Posts

Hi there.

I have a core board, which if I load the MIDI echo hex file, echo very nicely whatever I send it.

However, if I load the bootloader : bootloader_v1_2b_pic18f452.hex using winpic, I keep getting the following messages on my input :

00000001620872 ms | [90 78 20] Channel 1: Note On C9 velocity: 32

00000001620873 ms | [C8 01 00] Channel 9: Program Change no: 1

00000001620874 ms | [C8 3F 00] Channel 9: Program Change no: 63

00000001620874 ms | [FF] System Reset

00000001620874 ms | [A0 78 20] Channel 1: Aftertouch C9 pressure: 32

00000001622765 ms | [C8 01 00] Channel 9: Program Change no: 1

00000001622766 ms | [C8 3F 00] Channel 9: Program Change no: 63

00000001622766 ms | [FF] System Reset

00000001622766 ms | [A0 78 20] Channel 1: Aftertouch C9 pressure: 32

I expect the sysex message, but dont get it.

Any pointers ?

Thanx

Thys

Link to comment
Share on other sites

Thanks for the quick response Thorsten

Dumb question , but what should the bits be set to ? (Default config)

I have two config words I can set. when I load the code into the programmer, they show up as FEFF and FFF3.

Is this correct ?

Thanks

Thys

Link to comment
Share on other sites

no, these are the flags for various hardware options (e.g. oscillator selection, brownout voltage, code protection). These two words should never be changed.

The ID field is a number with 16 digits (8 bytes). It is "all-1" after erase, and if it won't be programmed, you will notice exactly the described effect.

I just have downloaded WinPIC and searched for a possibility to change the ID field. It seems that the GUI doesn't allow this. But under "Device->Program ID locations" you can program it, propably with the values which are embedded in the .hex file (and in this file I've written the all-zero header)

So, just try this function, hope that it helps.

If not, the "TEST SW2" workaround of the MIDI troubleshooting page could help

Best Regards, Thorsten.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...