vattern Posted June 16, 2007 Report Share Posted June 16, 2007 Hi thereI have a strange(I think) problem.I have two 18F452's programmed with the bootloader, and MIOS 1.9e . both of these work great.I also have and 18LF452 programmed with the bootloader. If I program this chip with the MIDI loopback test, it works fine.The bootloader programs fine, however when I try to upload MIOS via mios studio, I get the following errors :Starting upload of mios_v1_9e_pic18f452.hexHex file contains code in MIOS range, forcing reboot!Received Upload RequestSending block 00000400-000004FFReceived Checksum: 0F - ErrorSending block 00000500-000005FFError: Received unexpected Upload RequestSending block 00000500-000005FFError: Received unexpected Upload RequestSending block 00000500-000005FFReceived Checksum: 0F - ErrorSending block 00000500-000005FFReceived Checksum: 0F - ErrorSending block 00000500-000005FFReceived Checksum: 0F - ErrorSending block 00000500-000005FFReceived Checksum: 0F - ErrorSending block 00000500-000005FFReceived Checksum: 0F - ErrorSending block 00000500-000005FFReceived Checksum: 0F - ErrorSending block 00000500-000005FFReceived Checksum: 0F - ErrorSending block 00000500-000005FFReceived Checksum: 0F - ErrorSending block 00000500-000005FFReceived Checksum: 0F - ErrorSending block 00000500-000005FFReceived Checksum: 0F - ErrorSending block 00000500-000005FFReceived Checksum: 0F - ErrorSending block 00000500-000005FFReceived Checksum: 0F - ErrorSending block 00000500-000005FFAborting after 16 errorsAny ideas ? Or should I be using a different bootloader for the 18LF series ?ThanxThys Quote Link to comment Share on other sites More sharing options...
stryd_one Posted June 16, 2007 Report Share Posted June 16, 2007 Re: MIOS Upload fails....The LF should behave the same way as the F.... Weird... Quote Link to comment Share on other sites More sharing options...
TK. Posted June 17, 2007 Report Share Posted June 17, 2007 Yes, it should behave like a common PIC18F452Maybe an issue with your programmer? Which one did you use? And did you perform a verify after programming the bootloader to check the flash content?Maybe the code memory protection is activated, so that flash cannot be overwritten via software?Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
vattern Posted June 18, 2007 Author Report Share Posted June 18, 2007 Maybe an issue with your programmer? Which one did you use? And did you perform a verify after programming the bootloader to check the flash content?I used a classic TAIT serial programmerand ICProg 1.05E , the same one I used to program the two working 18F452'sI Also read back the contents and compared to the hex file, and all is OKMaybe the code memory protection is activated, so that flash cannot be overwritten via software?I have also verified that the code protection is the same as the others , Config 5 == C00FThanxThys Quote Link to comment Share on other sites More sharing options...
TK. Posted June 18, 2007 Report Share Posted June 18, 2007 Hm, then I don't have any ideal for the reason...ICProg has a readout function, right? What has been written between 0x400 and 0x5ff?Best Regards, Thorsten. 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.