![]() |
Forum Index : Microcontroller and PC projects : Micromite and Micromite Plus Beta 37
Page 1 of 3 ![]() ![]() |
|||||
Author | Message | ||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3292 |
I know that I said that it would be a while before the next beta but a couple of serious bugs surfaced so I thought it best to fix them immediately. So an updated version (B37) can be downloaded from the usual place: http://geoffg.net/Downloads/Micromite/Micromite_4.7_Beta.zip (clear your browser cache first). This fixes the "corrupt library" bug and a few more (see the file Changes.txt for the details). Again, my bug list is empty except for the Win10 USB issue. This version also allows you to use any I/O pin for interrupts including the IRQ pin used by the touch controller. As before, please let me know if you find an issue. Thanks, Geoff Geoff Graham - http://geoffg.net |
||||
CircuitGizmos![]() Guru ![]() Joined: 08/09/2011 Location: United StatesPosts: 1427 |
That is excellent! Micromites and Maximites! - Beginning Maximite |
||||
Zonker![]() Guru ![]() Joined: 18/08/2012 Location: United StatesPosts: 767 |
Thanks for all your hard work and time spent fine Sir..!! ![]() Will try out the new commands this weekend... (sweet)... Will be loading up the 170 28 pinners too... |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2944 |
THANKS Geoff. By the way, in you change log, the last B37 entry reads as: - With a non SSD1963 LCD using the BACKLIGHT command will now cause an error. Hopefully 'now' should be read as 'not' ! ![]() I will check this out later today (currently 07:30am). Thanks again for all your commitment to the MicroMite; it really does keep getting better and better ![]() |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10310 |
Geoff Thanks for the update. One small change request. Would it be possible to specify whether the card detect pin on the SD card was active high or active low in OPTION SDCARD? A possible syntax could be OPTION SDCARD CSpin, CDpin, WRpin, H/L, H/L Many card slots seem to ground the CD pin when the card is removed and leave it floating when it is inserted. Thanks Peter |
||||
CircuitGizmos![]() Guru ![]() Joined: 08/09/2011 Location: United StatesPosts: 1427 |
That's good thinking! I had to find a micro sd card holder with independent switch connections, which wasn't straight forward. Micromites and Maximites! - Beginning Maximite |
||||
Justplayin![]() Guru ![]() Joined: 31/01/2014 Location: United StatesPosts: 328 |
Here is a minor bug. MMBASIC doesn't catch the extra parenthesis. Dim chars(900)), ASCIIptr(150,2), MsgData(maxbytes)
--Curtis I am not a Mad Scientist... It makes me happy inventing new ways to take over the world!! |
||||
CircuitGizmos![]() Guru ![]() Joined: 08/09/2011 Location: United StatesPosts: 1427 |
It does. It just saves it in flash for the next time that you forget the parenthesis. ![]() Micromites and Maximites! - Beginning Maximite |
||||
Justplayin![]() Guru ![]() Joined: 31/01/2014 Location: United StatesPosts: 328 |
That's where those unexplained errors come from... Two partial errors make a whole error and may only be revealed at the most inopportune time! It's Murphy's Law, you better know it, because you are going to live it. ![]() --Curtis I am not a Mad Scientist... It makes me happy inventing new ways to take over the world!! |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2944 |
Can someone please check the FILES [fspec$] command for me! When I use FILES by itself, it mainly works ok (see later). But with any 'fspec$' specified I get the message: 0 directories, 0 files I mentioned above that 'FILES' mainly works ok. Sometimes it just 'hangs' with no response. I have tried different SD cards, and different pins for CS, CD, and WP. Thanks . . . . WW |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2944 |
@Geoffg Just had the following error message whilst a program was running on B37: CPU exception #7 (bus error on load or store) at address 0x9D04BF3C Processor restarted I had OPTION AUTORUN ON set, and I was browsing the web, so hence didn't see when it happened. But I have a ILI9341 setup on a 64pinner with SPI hardware running in a continuous loop. Does the above error give you any clue as to what may have triggered it? Thanks, WW |
||||
kiiid Guru ![]() Joined: 11/05/2013 Location: United KingdomPosts: 671 |
Geoff, since the first release of MM+ this has been like a thorn in my b*** and I've always wanted to ask, why is the external crystal needed? The internal FRC in MX470 has 0.9% accuracy by specs and will be good for the USB. Isn't it possible to get rid of the external crystal, probably by an OPTION in order to keep compatibility with what's been done so far? Another question (sorry, asking a lot recently, but that's because it is getting serious for many practical applications): would there be any possibility ever that a program may self-configure the device with all the needed OPTIONs and GUI CALIBRATE? Probably some function (maybe ISCONF(option id) is a possible choice) which will simply take a numeric parameter indicating the relevant option, and return 0 if that has not been configured, or 1 if it has. Thus the program will be able to find out whether certain options need to be executed only once. Of course they will need be to program executable as well as they are not at the moment. http://rittle.org -------------- |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2944 |
@Geoffg OPTION LIST is very useful. One thing that would be appreciated to be added to the list (albeit not an option!) is CPU speed. I seem to remember matherp has posted CFunction details to do this but I think it would be a useful addition to incorporate the info into the OPTION LIST output. Any thoughts . . . . WW |
||||
Greg Fordyce Senior Member ![]() Joined: 16/09/2011 Location: United KingdomPosts: 153 |
Page 17, Advanced Features manual. The description for Font 4 reads "A bold version of font #4". It should read "A bold version of font #3". |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3292 |
Thanks for the comments, No, the change log is correct. Ie, BACKLIGHT only works with the SSD1963. I will put it in the next beta. Obviously my exposure to SD card sockets is limited because I have not heard of this requirement before. The problem is that the internal oscillator is NOT accurate enough for USB. Most of the time it will work but in a significant number of cases it will screw up the USB. I tried once to implement an automatic switch to the internal oscillator but that did not work (from memory there is a bug in the PIC32's auto failover). Finally, when designing the MM+ I figured that the MX470 was a complex enough device already (surface mount with many pins) that a crystal was not much of an added complication. Some people like the current system of saving the display options in flash, some don't. There are some good reasons for the way it is and the pros and cons have been debated quite a few times on this forum. For the moment I am sticking with the current system until I come across something MUCH better. Thanks Greg and thanks to everyone for the feedback. Geoff Geoff Graham - http://geoffg.net |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
I am having problems configuring my MM+ touch control with beta37 > Micromite Plus MMBasic Ver 4.7 Beta 37 Copyright 2011-2015 Geoff Graham > OPTION LCDPANEL SSD1963_7, RL, 4 > OPTION TOUCH 18, 21 Error: Pi CPU exc CPU exc 2 problems. 1. It is not happy. 2. I am unable to do anything other than re flash the chip to recover. The same setup is OK on beta32. (I haven't tried it on beta36 yet) OPTION TOUCH 18, 21, 50 which I normally use and is from the manual, gives the same error. Jim VK7JH MMedit |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3292 |
I don't know of any bug in that area and I have tested it extensively. It might be due to the subtle change in the OPTION LCDPANEL command introduced in B36. You are using: OPTION LCDPANEL SSD1963_7, RL, 4
Is the number 4 at the end intended to be the font or the backlight control I/O pin? The new syntax is: OPTION LCDPANEL controller, orientation [,LCD-A pin]
The default font has been moved to the OPTION LCDPANEL CONSOLE command. Geoff Geoff Graham - http://geoffg.net |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
The 4 is for the backlight control. The LCD works as expected, it's just when I try to configure the TOUCH that I have problems. Jim VK7JH MMedit |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
My problem was pin 4. It is used for SPI2 Clock. By trying the setup commands in a different order, I was able to get a full error message without the continual rebooting. > OPTION TOUCH 22, 50 > OPTION LCDPANEL SSD1963_7, RL, 4 Error: Pin 4 is reserved on startup > Now to find out why I used pin 4 in the first case... Jim Edit: You are right, the 4 would have been the font size. It would help if the OPTION TOUCH error message had time to display fully before rebooting. VK7JH MMedit |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2944 |
@TassyJim So are you sorted now? |
||||
Page 1 of 3 ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |