vattern Posted June 16, 2007 Report 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
stryd_one Posted June 16, 2007 Report Posted June 16, 2007 Re: MIOS Upload fails....The LF should behave the same way as the F.... Weird...
TK. Posted June 17, 2007 Report 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.
vattern Posted June 18, 2007 Author Report 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
TK. Posted June 18, 2007 Report 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now