Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : CMM2: V5.07.00RC1 - Getting closer :-)
Page 3 of 4 | |||||
Author | Message | ||||
KeepIS Guru Joined: 13/10/2014 Location: AustraliaPosts: 1373 |
Apology for missing your post, No I expect the options to be lost when reprogramming, this is with a power cycle, even a fast off - on, and as noted above, reverting back to earlier FM fixed options being lost. It's all too hard. Mike. |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 3558 |
Hi Keepis, Version RC1 holds the options correctly. I am running 504Mhz, so I have one option more than you in option list. Maybe it is in rc2 only. Volhout PicomiteVGA PETSCII ROBOTS |
||||
KeepIS Guru Joined: 13/10/2014 Location: AustraliaPosts: 1373 |
That's correct, as noted, I changed back to previous version and of course all options are fine. Fortunately I have my own Win program that detects the platform and automatically sets all options with one click, sends files with a single click, and launches any returns from any programmer SW I need, so swapping Firmware, interrogating any option or pin status and testing code is painless, fast and simple. . It's all too hard. Mike. |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 5914 |
I can't repeat the fault here using my options and RC2. I tested on two different machines and they both hold options correctly. Jim VK7JH MMedit MMBasic Help |
||||
KeepIS Guru Joined: 13/10/2014 Location: AustraliaPosts: 1373 |
Well, in that case I'll try downloading the ZIP again and having a 3rd go at seeing if it holds options, nothing changed but the firmware, and each time it fails to hold Options on the last Test version from peter? I'll be back, hopefully with good news? It's all too hard. Mike. |
||||
KeepIS Guru Joined: 13/10/2014 Location: AustraliaPosts: 1373 |
Downloaded again and installed - it holds the options, unbelievable, the dam Bin file must be damaged, I really don't know how this can be as there was no error in unzip and to only affect the Options on power cycle???. I'll compare the two and install the first download as soon as I get a chance and see what's going on. Jim, thanks again for confirming that the version worked for you, BIG help. It's all too hard. Mike. |
||||
KeepIS Guru Joined: 13/10/2014 Location: AustraliaPosts: 1373 |
I've deleted this post as I believe I've suffered from a caching issue on the first day I downloaded the file (twice). Edited 2021-06-16 19:22 by KeepIS It's all too hard. Mike. |
||||
KeepIS Guru Joined: 13/10/2014 Location: AustraliaPosts: 1373 |
I was wrong again, when I removed the backup battery after flashing both the RC2 downloads, then reload the options, the CMM2 looses the options over a power cycle. When I use CMM2V5.07.00b24 everything is perfect. I can remove and install battery to reset all options, enter initialisation prompts, set options and they stick with a power cycle. Go back to RC2 and they loose all options again over a power cycle, if I have a faulty CMM2 then it's a strange fault that ONLY follows RC2 to the death. (new battery) It's all too hard. Mike. |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 3558 |
@keepis Could you check with a multimeter is the connection between the battery and the actual pin on the STM32 is good. Since current consumption should be low, a bad connection may be able to hold the data unreliable. Measure the actual pin, not the pad. Volhout PicomiteVGA PETSCII ROBOTS |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8592 |
There is a problem. It was caused by trying to allow the overclock to be an option. I'll look at it ASAP |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8592 |
CMM2V5.07.00RC3 posted http://geoffg.net/Downloads/Maximite/CMM2_Beta.zip This should solve the "options-getting-lost" issue. Please erase the entire chip before programming. You should then get the initialisation dialogue. Other changes form Geoff's latest release: Bug fix for STATIC variables as reported by thwill Much improved performance for reading DATA statements |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 3850 |
Sorry, something different now funny with options: > option list CURRENT VGA mode 800x600 RGB332 OPTION USBKEYBOARD UK > option usbkeyboard uk,1 > option ram Initial setup - all parameters can be changed later Keyboard type: 1=UK, 2=US, 3=DE , 4=FR, 5=ES , 6=BE ? 1 Enter time (24hr clock) HH:MM:SS ? 19:26:00 400MHz Colour Maximite 2/06/21 MMBasic Version 5.07.00RC3 Copyright 2011-2021 Geoff Graham Copyright 2016-2021 Peter Mather > option list CURRENT VGA mode 800x600 RGB332 CURRENT DISPLAY 50,100 OPTION USBKEYBOARD UK > option ram Initial setup - all parameters can be changed later Keyboard type: 1=UK, 2=US, 3=DE , 4=FR, 5=ES , 6=BE ? 1 Enter time (24hr clock) HH:MM:SS ? 19:27:00 400MHz Colour Maximite 2/06/21 MMBasic Version 5.07.00RC3 Copyright 2011-2021 Geoff Graham Copyright 2016-2021 Peter Mather > option list CURRENT VGA mode 800x600 RGB332 CURRENT DISPLAY 50,100 OPTION USBKEYBOARD UK > Edited 2021-06-17 04:28 by thwill Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 3850 |
... and DATA now appears to be borked: > list "data_bug.bas" Print "Hello" Read h% Print h% Data &h1 > run "data_bug.bas" Hello Error in line 5: Type prefix > Can I interest you in the wonders of automated unit-testing yet ? Edit: STATIC does appear to be fixed as far as my test coverage goes though. Best wishes, Tom Edited 2021-06-17 04:36 by thwill Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
KeepIS Guru Joined: 13/10/2014 Location: AustraliaPosts: 1373 |
If you look back a few posts you will see that I have a DSO on the Vbat pin on the CPU, it is perfect, and as now been revealed, there was a problem with options, I wonder if everyone trying the RC2 firmware was indeed removing the battery to reset the CMM2 to the start up initialisation screen, IE asking for keyboard and time/date? . It's all too hard. Mike. |
||||
KeepIS Guru Joined: 13/10/2014 Location: AustraliaPosts: 1373 |
Yes, this appears to be the problem I was having, and it's still there on the FW update. . Edited 2021-06-17 10:43 by KeepIS It's all too hard. Mike. |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8592 |
CMM2V5.07.00RC4 posted http://geoffg.net/Downloads/Maximite/CMM2_Beta.zip Fixes option ram and data read issue (would have worked with &H1 but not &h1) String for F11 and F12 increased to 64 characters String for search path increased NB: maximum total length of full filename including path is 128 characters. NB: Options are now stored in flash memory so will not be lost when battery is removed. Fixes caching bugs in VAR SAVE/RESTORE Edited 2021-06-17 19:22 by matherp |
||||
KeepIS Guru Joined: 13/10/2014 Location: AustraliaPosts: 1373 |
Everything working great now It's all too hard. Mike. |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 3558 |
@Peter, Have you been able to discover what is wrong with the FFT ? This issue is brought up in the pi-pico thread but is the same for CMM2. Volhout PicomiteVGA PETSCII ROBOTS |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8592 |
Next on the list. Please provide a text file with 1024 sample values to use as input (1 per line) together with what you think are the correct FFT real and imaginary values |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 3850 |
Options seem to be fixed, however I'm not sure if it significant but on first restart after installing the new firmware my 400 MHz box reported itself as 504 MHz, however once the time & date are set it corrected itself. My unit-tests, Z-MIM and SAAINT all work fine with this version with default, BASELINE and OVERCLOCK. Will try to smoke-test "The Welcome Tape" as the dayjob permits this afternoon, probably only with OVERCLOCK option since I assume that is the most likely to be troublesome. I thought you'd tried that early in development and dismissed it? Does this mean there is potentially more OPTION space (I have nothing in mind at the moment) ? Best wishes, Tom Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Page 3 of 4 |
Print this page |