aminoplacid Posted January 31, 2008 Report Share Posted January 31, 2008 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 .hexGot errors:Starting upload of update_without_installed_mios.hexHex file contains code in MIOS range, forcing reboot!Received error code 01: Less bytes than expected have been receivedThis was an expected error - please ignore!Received Upload RequestSending block 00000000-000000FFReceived error code 05: Write access failed (invalid address range) - used by 1st level bslSending block 00000400-000004FFReceived Checksum: 46 - OKSending block 00000500-000005FFReceived Checksum: 0F - OKSending block 00000600-000006FFReceived Checksum: 48 - OKSending block 00000700-000007FFReceived Checksum: 53 - OKSending block 00000800-000008FFReceived Checksum: 08 - OKSending block 00000900-000009FFReceived Checksum: 59 - OKSending block 00000A00-00000AFFReceived Checksum: 60 - OKSending block 00000B00-00000BFFReceived Checksum: 7B - OKSending block 00000C00-00000CFFReceived Checksum: 7B - OKSending block 00000D00-00000DFFReceived Checksum: 50 - OKSending block 00000E00-00000EFFReceived Checksum: 47 - OKSending block 00000F00-00000FFFReceived Checksum: 2C - OKSending block 00001000-000010FFReceived Checksum: 4E - OKSending block 00001100-000011FFReceived Checksum: 28 - OKSending block 00001200-000012FFReceived Checksum: 17 - OKSending block 00001300-000013FFReceived Checksum: 1B - OKSending block 00001400-000014FFReceived Checksum: 0B - OKSending block 00001500-000015FFReceived Checksum: 78 - OKSending block 00001600-000016FFReceived Checksum: 48 - OKSending block 00001700-000017FFReceived Checksum: 06 - OKSending block 00001800-000018FFReceived Checksum: 77 - OKSending block 00001900-000019FFReceived Checksum: 79 - OKSending block 00001A00-00001AFFReceived Checksum: 64 - OKSending block 00001B00-00001BFFReceived Checksum: 72 - OKSending block 00001C00-00001CFFReceived Checksum: 60 - OKSending block 00001D00-00001DFFReceived Checksum: 40 - OKSending block 00001E00-00001EFFReceived Checksum: 74 - OKSending block 00001F00-00001FFFReceived Checksum: 3C - OKSending block 00002000-000020FFReceived Checksum: 4F - OKSending block 00002100-000021FFReceived Checksum: 5F - OKSending block 00002200-000022FFReceived Checksum: 28 - OKSending block 00002300-000023FFReceived Checksum: 7E - OKSending block 00002400-000024FFReceived Checksum: 68 - OKSending block 00002500-000025FFReceived Checksum: 4A - OKSending block 00002600-000026FFReceived Checksum: 3E - OKSending block 00002700-000027FFReceived Checksum: 62 - OKSending block 00002800-000028FFReceived Checksum: 59 - OKSending block 00002900-000029FFReceived Checksum: 0B - OKSending block 00002A00-00002AFFReceived Checksum: 59 - OKSending block 00002B00-00002BFFReceived Checksum: 3E - OKSending block 00002C00-00002CFFReceived Checksum: 23 - OKSending block 00002D00-00002DFFReceived Checksum: 17 - OKSending block 00002E00-00002EFFReceived Checksum: 33 - OKSending block 00002F00-00002FFFReceived Checksum: 7E - OKSending block 00003000-000030FFReceived Checksum: 70 - OKSending block 00003100-000031FFReceived Checksum: 60 - OKSending block 00003200-000032FFReceived Checksum: 40 - OKSending block 00003300-000033FFReceived Checksum: 29 - OKSending block 00003400-000034FFReceived Checksum: 17 - OKSending block 00003500-000035FFReceived Checksum: 7E - OKSending block 00003600-000036FFReceived Checksum: 0C - OKSending block 00004000-000040FFReceived Checksum: 79 - OKSending block 00004100-000041FFReceived Checksum: 15 - OKSending block 00004200-000042FFReceived Checksum: 56 - OKSending block 00004300-000043FFReceived Checksum: 3F - OKUpload process completeNot 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. Quote Link to comment Share on other sites More sharing options...
seppoman Posted January 31, 2008 Report Share Posted January 31, 2008 Received error code 05: Write access failed (invalid address range) - used by 1st level bslSounds a bit like you're uploading a MIOS version that's meant for a different PIC type?S Quote Link to comment Share on other sites More sharing options...
seppoman Posted January 31, 2008 Report Share Posted January 31, 2008 Oh, and btw you do know that you can't use the 452 PIC for SID V2? Quote Link to comment Share on other sites More sharing options...
aminoplacid Posted January 31, 2008 Author Report Share Posted January 31, 2008 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!!! :) Quote Link to comment Share on other sites More sharing options...
aminoplacid Posted January 31, 2008 Author Report Share Posted January 31, 2008 Oh and I am still working on the version previous to v2. I took a hiatus from the project for a while (~1 year). :P Quote Link to comment Share on other sites More sharing options...
nILS Posted January 31, 2008 Report Share Posted January 31, 2008 MIOS 1.9 will run on the 452.mbSID v2 won't.mbSID v1.7303b will.Make sure you upload the .hex file in the "pic18f452" folder of the MIOS download. Quote Link to comment Share on other sites More sharing options...
aminoplacid Posted February 1, 2008 Author Report Share Posted February 1, 2008 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.pdfAny other thoughts? I'll retry the LCD tests over the weekend, probably Sunday and return with any results.Thanks again for the noobie assistance. Quote Link to comment Share on other sites More sharing options...
t_xen Posted February 1, 2008 Report Share Posted February 1, 2008 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. Quote Link to comment Share on other sites More sharing options...
aminoplacid Posted February 4, 2008 Author Report Share Posted February 4, 2008 Success! After cleaning up some questionable solder points and re-burning the MIOS, the LCD has displayed READY. Thanks so much for your help. Quote Link to comment Share on other sites More sharing options...
aminoplacid Posted February 7, 2008 Author Report Share Posted February 7, 2008 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!:):):) 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.