Jump to content

Trouble Uploading MIOS


aminoplacid
 Share

Recommended Posts

Hi,

I am currently working on getting the MIOS setup on my CORE and am having some trouble.  I am using one of SmashTV's boards. I got it a couple years ago. The PIC is 18F452.  Here was my procedure.

Upload the upgrade .hex.  Worked fine.

Display on the LCD was just the single line of blocks.  Could not get the READY text to show.

Upload the LCD Test application. Worked fine. Tested ok.  Still could not get the READY text to show or any of the LCD Test Application readouts.

Thinking that perhaps it was the MIOS somehow, I tried to upload the MIOS without previous version .hex

Got errors:

Starting upload of update_without_installed_mios.hex

Hex file contains code in MIOS range, forcing reboot!

Received error code 01: Less bytes than expected have been received

This was an expected error - please ignore!

Received Upload Request

Sending block 00000000-000000FF

Received error code 05: Write access failed (invalid address range) - used by 1st level bsl

Sending block 00000400-000004FF

Received Checksum: 46 - OK

Sending block 00000500-000005FF

Received Checksum: 0F - OK

Sending block 00000600-000006FF

Received Checksum: 48 - OK

Sending block 00000700-000007FF

Received Checksum: 53 - OK

Sending block 00000800-000008FF

Received Checksum: 08 - OK

Sending block 00000900-000009FF

Received Checksum: 59 - OK

Sending block 00000A00-00000AFF

Received Checksum: 60 - OK

Sending block 00000B00-00000BFF

Received Checksum: 7B - OK

Sending block 00000C00-00000CFF

Received Checksum: 7B - OK

Sending block 00000D00-00000DFF

Received Checksum: 50 - OK

Sending block 00000E00-00000EFF

Received Checksum: 47 - OK

Sending block 00000F00-00000FFF

Received Checksum: 2C - OK

Sending block 00001000-000010FF

Received Checksum: 4E - OK

Sending block 00001100-000011FF

Received Checksum: 28 - OK

Sending block 00001200-000012FF

Received Checksum: 17 - OK

Sending block 00001300-000013FF

Received Checksum: 1B - OK

Sending block 00001400-000014FF

Received Checksum: 0B - OK

Sending block 00001500-000015FF

Received Checksum: 78 - OK

Sending block 00001600-000016FF

Received Checksum: 48 - OK

Sending block 00001700-000017FF

Received Checksum: 06 - OK

Sending block 00001800-000018FF

Received Checksum: 77 - OK

Sending block 00001900-000019FF

Received Checksum: 79 - OK

Sending block 00001A00-00001AFF

Received Checksum: 64 - OK

Sending block 00001B00-00001BFF

Received Checksum: 72 - OK

Sending block 00001C00-00001CFF

Received Checksum: 60 - OK

Sending block 00001D00-00001DFF

Received Checksum: 40 - OK

Sending block 00001E00-00001EFF

Received Checksum: 74 - OK

Sending block 00001F00-00001FFF

Received Checksum: 3C - OK

Sending block 00002000-000020FF

Received Checksum: 4F - OK

Sending block 00002100-000021FF

Received Checksum: 5F - OK

Sending block 00002200-000022FF

Received Checksum: 28 - OK

Sending block 00002300-000023FF

Received Checksum: 7E - OK

Sending block 00002400-000024FF

Received Checksum: 68 - OK

Sending block 00002500-000025FF

Received Checksum: 4A - OK

Sending block 00002600-000026FF

Received Checksum: 3E - OK

Sending block 00002700-000027FF

Received Checksum: 62 - OK

Sending block 00002800-000028FF

Received Checksum: 59 - OK

Sending block 00002900-000029FF

Received Checksum: 0B - OK

Sending block 00002A00-00002AFF

Received Checksum: 59 - OK

Sending block 00002B00-00002BFF

Received Checksum: 3E - OK

Sending block 00002C00-00002CFF

Received Checksum: 23 - OK

Sending block 00002D00-00002DFF

Received Checksum: 17 - OK

Sending block 00002E00-00002EFF

Received Checksum: 33 - OK

Sending block 00002F00-00002FFF

Received Checksum: 7E - OK

Sending block 00003000-000030FF

Received Checksum: 70 - OK

Sending block 00003100-000031FF

Received Checksum: 60 - OK

Sending block 00003200-000032FF

Received Checksum: 40 - OK

Sending block 00003300-000033FF

Received Checksum: 29 - OK

Sending block 00003400-000034FF

Received Checksum: 17 - OK

Sending block 00003500-000035FF

Received Checksum: 7E - OK

Sending block 00003600-000036FF

Received Checksum: 0C - OK

Sending block 00004000-000040FF

Received Checksum: 79 - OK

Sending block 00004100-000041FF

Received Checksum: 15 - OK

Sending block 00004200-000042FF

Received Checksum: 56 - OK

Sending block 00004300-000043FF

Received Checksum: 3F - OK

Upload process complete

Not sure about this error but it seems significant.  Also, cannot figure out the LCD.  The LCD seems like it is in fine shape as it gets power and the measurements are ok.  My first priority is getting the latest MIOS installed correctly. Any ideas?

Thanks.

Link to comment
Share on other sites

Are you saying that v1.9 (latest available MIOS) is not supported for the PIC18F452?  If so, is there a place where old versions of MIOS are kept where I can get the latest version that supports the PIC18F452?  I understand that the PIC18F452 is not supported anymore though but I would like to get something working before I go out and buy more PIC's, ya know.

Thanks!!! :)

Link to comment
Share on other sites

Hi!  Thanks for the replies.  We  I got MIOS uploaded just fine today.  However I am not getting the READY screen when I power up.  All I get is the single line of blocks on the LCD.  I have it wired properly (AFAIK).  Link to the datasheet: http://www.shopeio.com/inventory/pdf/AMC2002C.pdf

Any other thoughts?  I'll retry the LCD tests over the weekend, probably Sunday and return with any results.

Thanks again for the noobie assistance.

Link to comment
Share on other sites

no data on your LCD?

that's pretty odd. especially if the LCD test was already fine.

how do you have it connected? Is the ribbon cable soldered directly to the pins? If so, make sure a single wire didn't fray and is shorting to another pin someplace. I seem to remember something like this happening to me.

try shutting it off, start the upload in "smart mode", and then turn it on to re upload the file.

I think I remember having to do this several times to get mine to work when I thought I fried it at first.

Link to comment
Share on other sites

Thanks t_xen,

I also wanted to thank you for a previous post of yours that was the final piece of advise I needed to get some sound out of my chip!  It was about the interconnections between the SID and CORE for Smash's boards.  The labeling threw me off but your thread (and especially the replies) totally rocked!

:):):)

Link to comment
Share on other sites

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...
 Share

×
×
  • Create New...