Jump to content

Recommended Posts

Posted

Hi there

I 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.hex

Hex file contains code in MIOS range, forcing reboot!

Received Upload Request

Sending block 00000400-000004FF

Received Checksum: 0F - Error

Sending block 00000500-000005FF

Error: Received unexpected Upload Request

Sending block 00000500-000005FF

Error: Received unexpected Upload Request

Sending block 00000500-000005FF

Received Checksum: 0F - Error

Sending block 00000500-000005FF

Received Checksum: 0F - Error

Sending block 00000500-000005FF

Received Checksum: 0F - Error

Sending block 00000500-000005FF

Received Checksum: 0F - Error

Sending block 00000500-000005FF

Received Checksum: 0F - Error

Sending block 00000500-000005FF

Received Checksum: 0F - Error

Sending block 00000500-000005FF

Received Checksum: 0F - Error

Sending block 00000500-000005FF

Received Checksum: 0F - Error

Sending block 00000500-000005FF

Received Checksum: 0F - Error

Sending block 00000500-000005FF

Received Checksum: 0F - Error

Sending block 00000500-000005FF

Received Checksum: 0F - Error

Sending block 00000500-000005FF

Received Checksum: 0F - Error

Sending block 00000500-000005FF

Aborting after 16 errors

Any ideas ? Or should I be using a different bootloader for the 18LF series ?

Thanx

Thys

Posted

Yes, it should behave like a common PIC18F452

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?

Maybe the code memory protection is activated, so that flash cannot be overwritten via software?

Best Regards, Thorsten.

Posted

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's

I Also read back the contents and compared to the hex file, and all is OK

Maybe 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 == C00F

Thanx

Thys

Posted

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.

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...
×
×
  • Create New...