kuykens Posted April 13, 2007 Report Share Posted April 13, 2007 I have trouble uploading MIOS V 1.9 on my PIC18f452 board. :'(The log of the upload is included below. The problem occurs when the following block (write?) occurs:Sending block 00007C00-00007CFFReceived error code 05: Write access failed (invalid address range) - used by 1st level bslThis was an expected error - please ignore!The problem persists while trying several different settings in MIOS studio.Anybody got a clue what's going on?regards: HansStarting upload of mios_v1_9d_pic18f452.hexHex file contains code in MIOS range, forcing reboot!Received Upload RequestSending block 00000400-000004FFReceived Checksum: 71 - OKSending block 00000500-000005FFReceived Checksum: 29 - OKSending block 00000600-000006FFReceived Checksum: 40 - OKSending block 00000700-000007FFReceived Checksum: 52 - OKSending block 00000800-000008FFReceived Checksum: 59 - OKSending block 00000900-000009FFReceived Checksum: 37 - OKSending block 00000A00-00000AFFReceived Checksum: 6B - OKSending block 00000B00-00000BFFReceived Checksum: 7E - OKSending block 00000C00-00000CFFReceived Checksum: 59 - OKSending block 00000D00-00000DFFReceived Checksum: 5A - OKSending block 00000E00-00000EFFReceived Checksum: 3E - OKSending block 00000F00-00000FFFReceived Checksum: 35 - OKSending block 00001000-000010FFReceived Checksum: 29 - OKSending block 00001100-000011FFReceived Checksum: 62 - OKSending block 00001200-000012FFReceived Checksum: 3A - OKSending block 00001300-000013FFReceived Checksum: 3E - OKSending block 00001400-000014FFReceived Checksum: 0D - OKSending block 00001500-000015FFReceived Checksum: 0B - OKSending block 00001600-000016FFReceived Checksum: 2B - OKSending block 00001700-000017FFReceived Checksum: 48 - OKSending block 00001800-000018FFReceived Checksum: 6D - OKSending block 00001900-000019FFReceived Checksum: 76 - OKSending block 00001A00-00001AFFReceived Checksum: 34 - OKSending block 00001B00-00001BFFReceived Checksum: 25 - OKSending block 00001C00-00001CFFReceived Checksum: 04 - OKSending block 00001D00-00001DFFReceived Checksum: 46 - OKSending block 00001E00-00001EFFReceived Checksum: 33 - OKSending block 00001F00-00001FFFReceived Checksum: 74 - OKSending block 00002000-000020FFReceived Checksum: 1A - OKSending block 00002100-000021FFReceived Checksum: 59 - OKSending block 00002200-000022FFReceived Checksum: 2D - OKSending block 00002300-000023FFReceived Checksum: 1B - OKSending block 00002400-000024FFReceived Checksum: 0A - OKSending block 00002500-000025FFReceived Checksum: 34 - OKSending block 00002600-000026FFReceived Checksum: 5C - OKSending block 00002700-000027FFReceived Checksum: 05 - OKSending block 00002800-000028FFReceived Checksum: 1C - OKSending block 00002900-000029FFReceived Checksum: 00 - OKSending block 00002A00-00002AFFReceived Checksum: 3B - OKSending block 00002B00-00002BFFReceived Checksum: 61 - OKSending block 00002C00-00002CFFReceived Checksum: 7D - OKSending block 00002D00-00002DFFReceived Checksum: 02 - OKSending block 00002E00-00002EFFReceived Checksum: 22 - OKSending block 00002F00-00002FFFReceived Checksum: 7E - OKSending block 00003000-000030FFReceived Checksum: 22 - OKSending block 00003100-000031FFReceived Checksum: 60 - OKSending block 00003200-000032FFReceived Checksum: 40 - OKSending block 00003300-000033FFReceived Checksum: 3F - OKSending block 00007C00-00007CFFReceived error code 05: Write access failed (invalid address range) - used by 1st level bslThis was an expected error - please ignore!Error: Received unexpected Upload RequestSending block 00007C00-00007CFFReceived error code 05: Write access failed (invalid address range) - used by 1st level bslSending block 00007C00-00007CFFReceived error code 05: Write access failed (invalid address range) - used by 1st level bslSending block 00007C00-00007CFFReceived error code 05: Write access failed (invalid address range) - used by 1st level bslSending block 00007C00-00007CFFReceived error code 05: Write access failed (invalid address range) - used by 1st level bslSending block 00007C00-00007CFFReceived error code 05: Write access failed (invalid address range) - used by 1st level bslSending block 00007C00-00007CFFReceived error code 05: Write access failed (invalid address range) - used by 1st level bslSending block 00007C00-00007CFFReceived error code 05: Write access failed (invalid address range) - used by 1st level bslSending block 00007C00-00007CFFReceived error code 05: Write access failed (invalid address range) - used by 1st level bslSending block 00007C00-00007CFFReceived error code 05: Write access failed (invalid address range) - used by 1st level bslSending block 00007C00-00007CFFReceived error code 05: Write access failed (invalid address range) - used by 1st level bslSending block 00007C00-00007CFFReceived error code 05: Write access failed (invalid address range) - used by 1st level bslSending block 00007C00-00007CFFReceived error code 05: Write access failed (invalid address range) - used by 1st level bslSending block 00007C00-00007CFFReceived error code 05: Write access failed (invalid address range) - used by 1st level bslSending block 00007C00-00007CFFReceived error code 05: Write access failed (invalid address range) - used by 1st level bslSending block 00007C00-00007CFFReceived error code 05: Write access failed (invalid address range) - used by 1st level bslAborting after 16 errors Quote Link to comment Share on other sites More sharing options...
TK. Posted April 14, 2007 Report Share Posted April 14, 2007 Hi Hans,it seems that your PIC is running with the old bootloader, which was located at 0x7c00-0x7fffJust upload the pic18f452/midi/update_with_old_mios.hex file of the mios_update_v1_9d packageThis will install the new bootloader and a new MIOS version.Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
kuykens Posted April 14, 2007 Author Report Share Posted April 14, 2007 Hi Thorsten,I tried your suggestion but without success...Some more info:The board already worked previously. I demolished the PIC when I was trying to solder an additional power circuit for sd-card support.I ordered 2 PIC18F452's at Wouter van Ooijen's web shop who also programmed the bootloader for me. I indicated the MIDIBOX website for download so I assume he burned the latest bootloader. I'll check with him...When I started I noticed the repetitive download requests. So, the bootloader was there and no MIOS installed.Then, I used MIOS Studio to upload MIOS with the results as displayed in the LOG file in my previous message in this thread. When I use smart mode the process stops when hitting the 0x07c00 address range.When I use manual mode the process continues but repeatedly complains about write errors in the 0x7c00 to 0x7fff range.The LCD keeps displaying the single black top-line. It used to work before, however due to fault connection at a point I may have destroyed it. So this is currently not a reliable monitor for signs of MIOS life.After MIOS upload a reboot of the board now gives only two sysex upload requests which may indicate that at least part of the MIOS upload was succesfull. When I tried to upload: update_with_old_mios.hex the upload succeeded but the device did not automatically reboot. WHen I rebooted manually : no response on the LCD. To verify whether MIOS was alive I tried to upload an aplication but that failed with no response from the board.After reading some messages about power requirements during burning I repeated the process using a power adapter allowing 800mA. Without success.Are there any other options to check whether or what parts of MIOS are alive?I hope for any other pointers to solve this problem.regards: Hans Quote Link to comment Share on other sites More sharing options...
kuykens Posted April 14, 2007 Author Report Share Posted April 14, 2007 Ha! :) got it working!I now used update_without_installed_mios.hexand that worked OK! Could upload application. All seems well.Thanks for the hints, Throsten. I'll keep you updated about sd-card progress...regards: Hans 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.