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 : PicoMite V6.00.00 release candidates - all versions
Page 2 of 23 | |||||
Author | Message | ||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9101 |
If you want HDMIUSB you have loaded the wrong version. If you want VGAUSB then the error is correct because the Olimex configuration is for HDMI |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2112 |
the non usb hdmi will reset olimex Connected to COM21 at 115200 option list PicoMiteHDMI MMBasic Version 6.00.00RC1 OPTION FLASH SIZE 4194304 OPTION KEYBOARD US OPTION CPUSPEED (KHz) 315000 > option reset olimex PicoMiteHDMI MMBasic Version 6.00.00RC1 OPTION FLASH SIZE 4194304 OPTION COLOURCODE ON OPTION KEYBOARD US OPTION CPUSPEED (KHz) 315000 OPTION DISPLAY 24, 80 OPTION HDMI PINS 1, 3, 7, 5 OPTION SDCARD GP22, GP6, GP7, GP4 OPTION AUDIO GP26,GP27', ON PWM CHANNEL 5 OPTION MODBUFF ENABLE 192 OPTION PLATFORM OLIME |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9101 |
Any time you load a different firmware variant it should reset everything e.g. HDMIUSB to HDMI |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2112 |
tried several times to get hdmi usb to reset olimex but same not a valid board. non usb hdmi worked first time and reset olimex. graphics ok. option list PicoMiteHDMI MMBasic Version 6.00.00RC1 OPTION FLASH SIZE 4194304 OPTION COLOURCODE ON OPTION KEYBOARD US OPTION CPUSPEED (KHz) 315000 OPTION HDMI PINS 1, 3, 7, 5 OPTION SDCARD GP22, GP6, GP7, GP4 OPTION AUDIO GP26,GP27', ON PWM CHANNEL 5 OPTION MODBUFF ENABLE 192 OPTION PLATFORM OLIMEX Edited 2024-09-30 03:48 by stanleyella |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9101 |
OLIMEX isn't a valid board for HDMIUSB. It doesn't have a serial console port. If you use a board as the basis for something different you have to configure by hand |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9101 |
Here is the current list of predefined configurations VGAUSB PICOGAME 4-PWM PICOGAME 4 CMM1.5 VGA PICOGAME 4-PWM PICOGAME 4 PICOMITEVGA V1.1 PICOMITEVGA V1.0 VGA Design 1 VGA Design 2 SWEETIEPI VGA Basic HDMIUSB HDMIUSB HDMI OLIMEX HDMIBasic PICOMITE Game*Mite Pico-ResTouch-LCD-3.5 Pico-ResTouch-LCD-2.8 PICO BACKPACK RP2040-LCD-1.28 RP2040LCD-0.96 RP2040-GEEK WEBMITE Game*Mite Pico-ResTouch-LCD-3.5 Pico-ResTouch-LCD-2.8 PICO BACKPACK PICOMITEUSB USB Edition V1.0 |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2112 |
is it the hdmi usb is a vga file as the non usb hdmi doesn't say vga? sorry just seen your post late. so olimex got to set up. I love a challenge... not! on a plate, do nowt thanks, stan Edited 2024-09-30 04:48 by stanleyella |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6771 |
You may as well delete the PicoGAME 4 options, Peter. I don't think that's going to continue now as it doesn't support USB or HDMI. None of them have been built. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2112 |
don't get it. non usb hdmi works olimex why not usb with usb to ttl converter as before as for connecting to pc and mmedit, mmcc? Edited 2024-09-30 05:09 by stanleyella |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9101 |
The idea is that OPTION RESET configures a specific board to work as-is. The Olimex board can't work as-is for USB as it needs an additional component. If you want to use it for USB then configure it by hand. Please this thread is for BUGS |
||||
disco4now Guru Joined: 18/12/2014 Location: AustraliaPosts: 896 |
Some errors picked up by the unit tests run on PicoMite RP2350A 1. ? MM.info(OPTION ANGLE) causes a reset. 2. MATH SD gives the wrong answer with test below but OK on 5.09 Beta6 The test designed by Tom so assume its right i.e. ' Standard deviation of a sine wave is equal to the square root of 1/2 3. All other MATH tests pass. -------------------------------------------------- Connected to: PicoMite RP2350A 6 tst_math.bas test_sd: FAIL (1/1) 1: Assert equals failed, expected 0.7071067812 but actually 0.7077983283 Const NUM_SAMPLES% = 512 Dim sin_amp1!(array.new%(NUM_SAMPLES%)) FOR i% = BASE% to NUM_SAMPLES% + BASE% - 1 sin_amp1!(i%) = Sin(2 * Pi * (i% - BASE%) / NUM_SAMPLES%) NEXT Sub test_sd() ' Standard deviation of a sine wave is equal to the square root of 1/2 (0.707) assert_float_equals(Sqr(1/2), Math(SD sin_amp1!()), 1e-10) End Sub Latest F4 Latest H7 |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 4036 |
In general just because I wrote it I wouldn't assume it's correct, however a quick google does suggest that it should be == sqr(0.5). IIRC there isn't much coverage of MATH, and what there is, is thanks to @Volhout (and you ?) Best wishes, Tom Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
disco4now Guru Joined: 18/12/2014 Location: AustraliaPosts: 896 |
Seems to be something funny with settick. The sub int1 is not called when the following code is run. Works on 5.09 B6 > list intcalled=0 SetTick 10,int1 Pause 20 Print intcalled Sub int1 intcalled=1 SetTick 0,int1 End Sub On 5.09 Beta6 > run 1 > On 6.0 RC1 > run 0 > Latest F4 Latest H7 |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9101 |
The standard deviation change is whether to divide by N or N-1. I made the change to the sample version which seems more logical in most uses. For example if I take n ADC readings then this is a sample of all the ADC readings I could take. If you adjust your test you should get the same answer I'll look at the settick issue but can't think why this might have changed. The test is odd with settick called inside an interrupt - what is the objective? |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 4036 |
*Might* be derived from my test suite. SetTick 0, int1 The duration is 0 so this construction disables the interrupt after it has fired once. The second argument on this call is superfluous. Best wishes, Tom Edited 2024-10-01 00:57 by thwill Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9101 |
Gerry The settick works for me - what version are you testing? UPDATE The option angle bug is a compiler error. If I change to a different version of the compiler or change the optimisation then it works - that's HORRIBLE Edited 2024-10-01 02:19 by matherp |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9101 |
V6.00.00RC2 for the RP2350 PicoMiteRP2350V6.00.00RC2.zip Circumvents a compiler bug causing MM.INFO(OPTION ANGLE) to crash Adds support for bit 2 in the flag parameter for the SORT command when sorting strings. By default, empty string sorts first (normal sort) and last (reverse sort). Setting bit 2 in the flag field reverses this: empty string sort last (normal sort) and first (reverse sort). HDMI versions OPTION WIDESCREEN is deprecated OPTION RESOLUTION 640x480 or 1280x720 or 1024x768 or OPTION RESOLUTION 640 or 1280 or 1024 Valid modes in each case are: 640x480 Mode 1: 640x480x2-colours with RGB555 tiles (use the TILE command as normal) MODE 2: ' 320x240x16colours with 2 optional layers (no memory usage) and colour mapping to RGB555 palette MODE 3:' 640x480x16 colours with optional layer (significant memory usage) and colour mapping to RGB555 palette MODE 4: ' 320x240x32768 colours MODE 5: ' 320x240x256 colours with optional layer (no memory usage) and colour mapping to RGB555 palette 1280x720 MODE 1: ' 1280x720x2-colours with RGB332 tiles (use the TILE command as normal) MODE 2: ' 320x180x16colours with 2 optional layers (no memory usage) and colour mapping to RGB332 palette MODE 3:' 640x360x16 colours with optional layer (significant memory usage) and colour mapping to RGB332 palette MODE 5: ' 320x180x256 colours with optional layer (no memory usage) 1024x768 MODE 1 ' 1024x768x2-colours with RGB332 tiles (use the TILE command as normal) MODE 2 ' 256x192x16colours with 2 optional layers (no memory usage) and colour mapping to RGB332 palette MODE 3:' 512x384x16 colours with optional layer (significant memory usage) and colour mapping to RGB332 palette MODE 5: ' 256x192x256 colours with optional layer (no memory usage) |
||||
Sasquatch Guru Joined: 08/05/2020 Location: United StatesPosts: 362 |
I have tested the new 1024X modes on 7 different TV/Monitors from 13" to 55" and all of them sync perfectly to the new resolution! I am using the Olimex HDMI board. Just as a side note: MM.Resolution or MM.INFO(Resolution) would be nice so programs could provide a warning to switch resolution if required. I know, I know, always one more request! PicoMiteHDMI MMBasic Version 6.00.00RC2 OPTION FLASH SIZE 4194304 OPTION KEYBOARD US OPTION CPUSPEED (KHz) 324000 OPTION DISPLAY 32, 64 OPTION HDMI PINS 1, 3, 7, 5 OPTION RESOLUTION 1024x768 OPTION SDCARD GP22, GP6, GP7, GP4 OPTION AUDIO GP26,GP27', ON PWM CHANNEL 5 OPTION MODBUFF ENABLE 192 OPTION PLATFORM OLIMEX OPTION DEFAULT FONT 3, 1 -Carl |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2112 |
lucky you :( me,hdmi usb don't work and hdmi pico2 works then next flash doesn't. rc2 same but vga usb did work. dodgy usb connectors maybe? don't assume it lasts forever |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2112 |
working non usb. what's new modes? > option list PicoMiteHDMI MMBasic Version 6.00.00RC2 OPTION FLASH SIZE 4194304 OPTION COLOURCODE ON OPTION KEYBOARD US OPTION CPUSPEED (KHz) 315000 OPTION HDMI PINS 1, 3, 7, 5 OPTION SDCARD GP22, GP6, GP7, GP4 OPTION AUDIO GP26,GP27', ON PWM CHANNEL 5 OPTION MODBUFF ENABLE 192 OPTION PLATFORM OLIMEX is it all significant memory usage so none left for frames Edited 2024-10-01 07:12 by stanleyella |
||||
Page 2 of 23 |
Print this page |