Christ Posted April 13, 2005 Report Share Posted April 13, 2005 Hi ,It's my first post over here and first of all thanks for this great site;Now my problem :I'm gonna build an midibox64 for control TRAKTOR-software throught the RS232-port.So for the bootloader I have to change the ID device in ID = 0000000000000100. Correct me if I'm wrong.But I can't use ICprog , because my pic programmer (WISP628) doesn't work with this program.I use BUMBLEBEE and in the hex-file I have to change the next rule :200000 00 00 00 00 00 00 00 00 to 200000 00 00 00 00 00 00 01 00 (I thaught this was the correct adres an ID-setting)And that I can't , So can someone send me a new hex of the bootloader with the right ID , or give me another suggestion?ThankCHRISTOPH Quote Link to comment Share on other sites More sharing options...
TK. Posted April 13, 2005 Report Share Posted April 13, 2005 Hi Christoph,does this help?Patching the .hex fileIf your PIC programmer doesn't allow to edit the ID field, it's also possible to patch the .hex file instead.Just open the .hex file, and search for the line below ":020000040020DA" which begins with :08000000The following eight bytes (16 digits) are the ID values in hexadecimal format. The last value is the checksum over these 8 bytes (0 - byte1 - byte2 - ... - byte8)Here some examples:Normal ID field (all 8 bytes are zero) - to-COM disabled, MIOS Device ID = 0x00:080000000000000000000000F8to-COM disabled, MIOS Device ID = 0x01:080000000000000000000001F7to-COM disabled, MIOS Device ID = 0x02:080000000000000000000002F6to-COM disabled, MIOS Device ID = 0x03:080000000000000000000003F5to-COM disabled, MIOS Device ID = 0x00, KS0108 GLCD driver (1):080000000000000000001000E8to-COM disabled, MIOS Device ID = 0x00, custom LCD driver (7):08000000000000000000700088to-COM enabled, MIOS Device ID = 0x00:080000000000000000000100F7to-COM enabled, MIOS Device ID = 0x01:080000000000000000000101F6to-COM enabled, MIOS Device ID = 0x02:080000000000000000000102F5to-COM enabled, MIOS Device ID = 0x03:080000000000000000000103F4[/code]Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
Christ Posted April 14, 2005 Author Report Share Posted April 14, 2005 Thanks Thorsten,I was able to patch the file , but now is going crazier:If I compare your hex file , with the one I uploaded from the pic is everything the same besides:YOUR HEX FILE200000 00 00 00 00 00 00 01 00300000 FF FE FF FF FF FF FB FF FF FF FF FF FF FFMY HEX UPLOAD (FROM THE 18F452)NO ADRES 200000300000 00 26 0F 00 01 81 00 0F C0 0F E0 0F 40Al the rest is the sameDo I have a wiring prob, or what? Quote Link to comment Share on other sites More sharing options...
TK. Posted April 14, 2005 Report Share Posted April 14, 2005 Hi,the unimplemented bits in the configuration sector are always zero when reading them back.Just use the verify function of your programming software to check if the flash content is correctBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
Christ Posted April 15, 2005 Author Report Share Posted April 15, 2005 Ok , that I didn't know , but when I do an VERIFY I got an error message on adres 300000" Value in image is 0xFF ; value in target is 0x00" :-\Did I screw the pic?I think I'll better make MBHP-burner , Thorsten , I'll hope your an patient one ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.