Snoozr Posted May 9, 2008 Report Posted May 9, 2008 Hi everyone. I put together a core using Smash's kit. There is a sticker on the PIC18F4685 that says BSL V1.2B MIOS V.19F. So I guess I don't have to upload those as mentioned here http://www.ucapps.de/mios_bootstrap_newbies.html.I thought I would give it a revision_id_v1a.zip test as mentioned herehttp://www.ucapps.de/mios_download.htmlI was expecting to get the Revision ID back as a CC. I got a CC but I don't know if this is right. I have an LCD but it does not really show anything except it has a blinking cursor. No text yet. Could be a bad wiring job so that's why I thought I would test first. Anyway, here are the upload logs and what I got back.Starting upload of main.hexSending block 00003000-000030FFReceived Checksum: 38 - OKSending block 00003100-000031FFReceived Checksum: 60 - OKSending block 00003200-000032FFReceived Checksum: 40 - OKSending block 00003300-000033FFReceived Checksum: 60 - OKUpload process completeNow here is the Midi Monitor In log. The first line is the "Hello World" from the PIC. After that is what came when I uploaded the test.00000000029189 ms | Sysex message: F0 00 00 7E 40 00 01 F7timestamp [unknown] | Sysex message: F0 00 00 7E 40 00 02 0C 00 00 20 43 7B 63 1F 04 23 5E 19 78 22 3D 71 4F 42 15 6F 0C 7C 11 3E 78 67 61 3E 77 46 3E 0C 3F 3C 33 70 64 3B 63 1F 06 17 5E 19 78 31 5D 71 4F 43 13 6F 0C 7C 18 2E 78 67 61 41 77 46 3E 0B 7F 3C 33 70 60 3B 63 1F 04 03 5E 19 78 20 3D 71 4F 42 05 6F 0C 7C 10 3E 78 67 61 44 77 46 3E 0C 1F 3C 33 70 42 3B 63 1F 04 17 5E 19 78 21 5D 71 4F 40 24 00 00 00 02 20 00 00 00 12 00 00 00 01 10 00 00 00 09 00 00 00 00 48 00 00 00 04 40 00 00 00 24 00 00 00 1F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 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7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 78 40 F700000000864779 ms | Sysex message: F0 00 00 7E 40 00 0F 40 F7timestamp [unknown] | Sysex message: F0 00 00 7E 40 00 02 0C 60 00 20 09 00 02 20 00 48 00 12 00 04 40 01 10 00 24 00 09 00 02 20 00 48 00 12 00 20 5D 41 37 41 5C 0E 7B 1B 46 30 77 5D 5D 1E 76 05 5E 04 00 3A 11 6C 0B 3C 1E 29 77 78 1D 76 37 3F 61 6F 3B 38 7E 0E 7C 1B 41 10 07 57 1E 06 78 02 20 0F 2E 3C 0F 70 7C 1A 5E 28 70 1D 21 18 76 05 5E 00 32 42 31 6C 0B 3C 16 00 71 13 58 16 78 01 6A 07 78 2C 49 6C 0B 3C 00 65 03 7C 16 24 76 05 5E 01 10 00 00 0C 29 19 2E 66 4B 4D 52 6F 37 08 09 14 21 68 24 00 09 00 02 20 00 48 00 12 00 04 40 01 10 00 24 00 09 00 02 20 00 48 00 12 00 3F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 78 60 F700000000864933 ms | Sysex message: F0 00 00 7E 40 00 0F 60 F700000000867238 ms | Sysex message: F0 00 00 7E 40 00 01 F700000000871353 ms | [b0 27 61] Channel 1: CC LSB 7 (Channel Volume) value: 97I have no idea if this test succeeded or failed. Once I figure that out, I will start trying to make sure the LCD works. I was thinking I would see some text or something.Thanks for any help! I know this is pretty basic but honestly as a noob I am pretty happy I got this far. ;D
stryd_one Posted May 9, 2008 Report Posted May 9, 2008 I guess I don't have to upload those as mentioned here http://www.ucapps.de/mios_bootstrap_newbies.html.Correct.I got a CC but I don't know if this is right.Yep looks fine. A tip for next time: the logs you pasted are perhaps a little confusing... You've shown the log of the upload, and the subsequent CC messages after a reboot... Maybe separate the two next time for clarity... or maybe I'm the only one that didn't realise that at first ;) But at first, all those 7F's made me go "that ain't right!" heheI have an LCD but it does not really show anything except it has a blinking cursor. No text yet. Could be a bad wiring job so that's why I thought I would test first. Did you wire it for 4-bit mode? That's the default on a 4685... You can search for more info on that one :)Anyway, here are the upload logsLooks sweet. Did you use smart mode and wait for upload request? Have you tried re-uploading the app?Now here is the Midi Monitor In log. The first line is the "Hello World" from the PIC. After that is what came when I uploaded the test.00000000029189 ms | Sysex message: F0 00 00 7E 40 00 01 F7 That's the PIC sending an upload requesttimestamp [unknown] | Sysex message: F0 ... F7 Thats the 1st part of the upload00000000864544 ms | Sysex message: F0 00 00 7E 40 00 0F 38 F7 That's the core confirming that it was received correctlytimestamp [unknown] | Sysex message: F0 ... F7 Thats the 2nd part of the upload00000000864660 ms | Sysex message: F0 00 00 7E 40 00 0F 60 F7 That's the core confirming that it was received correctlytimestamp [unknown] | Sysex message: F0 ... F7 Thats the 3rd part of the upload00000000864779 ms | Sysex message: F0 00 00 7E 40 00 0F 40 F7 That's the core confirming that it was received correctlytimestamp [unknown] | Sysex message: F0 ... F7 Thats the 4th part of the upload00000000864933 ms | Sysex message: F0 00 00 7E 40 00 0F 60 F7 That's the core confirming that it was received correctly00000000867238 ms | Sysex message: F0 00 00 7E 40 00 01 F7 That's the core upload requesting again. This shows us that it's rebooted, which is what it does automatically after an app upload00000000871353 ms | [b0 27 61] Channel 1: CC LSB 7 (Channel Volume) value: 97 [b0 27 61] is a CC (B) on channel 1 (0) sending CC# 27(hex) value 61(hex). This is how the app works, it shows the revision (whichis in hex) as a CC. I have no idea if this test succeeded or failed. Once I figure that out, I will start trying to make sure the LCD works. I was thinking I would see some text or something.You should also see the above number 27 61 on screen.This brings me to my question: Why'd you run this app if you didn't know what it did?
Snoozr Posted May 9, 2008 Author Report Posted May 9, 2008 Thanks, Stryd, you're the best!!!! ;D ;D ;DAs for your question, I probably didn't express myself very clearly. I read the pagehttp://www.ucapps.de/mios_download.htmland knew that this file would test the Core. From the associated readme, I read: Revision ID V1.0===============================================================================Copyright © 2006 Thorsten Klose (tk@midibox.org)Licensed for personal non-commercial use only.All other rights reserved.===============================================================================This program displays the Revision ID of a PIC18F and sends italso via MIDI as CC# eventKnown numbers (mostly documented in the errata sheets of the PIC devices) - 0427: PIC18F452 C1 Silicon (latest and greatest) - 0C03: PIC18F4620 A3 Silicon (contains EUSART bug) - 0C04: PIC18F4620 A4 Silicon (contains EUSART bug) - 0C06: PIC18F4620 B4 Silicon (the good one w/o EUSART bug)===============================================================================I was expecting to perhaps see one of these numbers (actually, since my PIC number was not listed as a known number, I was not quite expecting to see one of those - however, since the last three revisions have sequential numbers I thought perhaps I would see 0C07 or 0C08). I did not quite expect00000000871353 ms | [b0 27 61] Channel 1: CC LSB 7 (Channel Volume) value: 97Anyway, I will try that search on 4-bit like you said. I really do appreciate that it does take your (and others) valuable time to answer noob questions and so I have and will continue to read as much as possible and take things as far as possible before even considering to post.Thanks again!
stryd_one Posted May 10, 2008 Report Posted May 10, 2008 I read the pagehttp://www.ucapps.de/mios_download.htmland knew that this file would test the Core.Indeed, and it's a positive result :) We love when it works first time!
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