|
Forum Index : Microcontroller and PC projects : Micromite Backpack V2 comms issue...
| Author | Message | ||||
| vk5la Newbie Joined: 05/03/2017 Location: AustraliaPosts: 13 |
Hi all, I have a Micromite Backpack V2 that I have constructed, the 16F1455 programmed via another micromite and then the PIC32MX170F256B-50/SP I have programmed with Silicon Chips' GPS Frequency Reference 04010718A.hex file using pic32prog GUI. this worked a treat and the program immediately begins to run. so far so good... But... If I try a control C, it won't stop the software from running and give me a command prompt. The hexfile seems to have changed the speed to 230400 baud, confirmed by getting this message if I force a "send break" command at 230400 baud... Micromite MKII MMBasic Ver 5.04.09 Copyright 2011-2018 Geoff Graham However, I just a get flashing cursor, no prompt. I have to reset the micromite backpack with it in programming mode and sending the exclamation marks...this works fine. I am then able to talk to the Backpack, and configure the screen and touch as per normal I tried to program it with a .bas file version of the software but after going though the motions with xmodem file transfer it says "not enough memory" This is odd, as this micro is the one spec'd for this project, and the .bas file at 60.6KB So I reset the backpack and looked at the memory available with the memory command before programming anything, ie showing 100% free memory, and it shows... Flash: 0K ( 0%) Program (0 lines) 60K (100%) Free RAM: 0K ( 0%) 0 Variables 0K ( 0%) General 50K (100%) Free > Does this sound right? the project file size is 60.6KB but the micro only has 50KB? Could someone please offer advice as to my next step? Cheers, Andy, VK5LA Andy (VK5LA) Winkie, S.A. |
||||
| disco4now Guru Joined: 18/12/2014 Location: AustraliaPosts: 1044 |
The program goes into flash so you have 60K. Does the .bas file have any comments, these might need to be removed to squeeze it in. Any CFunctions or Fonts that can go into the library. F4 H7FotSF4xGT |
||||
| Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3308 |
Silicon Chip used the console for another job so it is not accessible. This is described on pages 34 and 35 of the October 2018 issue (Part 1). They also used the crunch feature of MMEdit to strip out the comments in the BASIC file so that it could fit into the Micromite - see page 81 in Part 2. It seems that you need to re-read the magazine articles. It was a fantastic project and demonstrated just how much you can achieve with the humble 28-pin Micromite. Geoff Graham - http://geoffg.net |
||||
| vk5la Newbie Joined: 05/03/2017 Location: AustraliaPosts: 13 |
Thanks Geoff, Yes it is a fantastic project that’s for sure, I will have another read, thanks enlightening me regarding the console. Cheers Andy, VK5LA Andy (VK5LA) Winkie, S.A. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |