Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 16:37 25 Apr 2024 Privacy Policy
Jump to

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 : New PicoMite firmware release V5.07.06

     Page 5 of 6    
Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5899
Posted: 02:13am 24 Jan 2023
Copy link to clipboard 
Print this post

My units look the same as the one in your photo.
I tried a second one out of the same delivery but this time didn't solder the header pins in case there was an issue with my breadboard.

No change re maximum speed. It appears to be reliable at 200MHz but fails totally at 220MHz and above including 378MHz.

The WS2812 on my second board behaves correctly.

The one on my first board is interesting.
If you write RGB(0,0,0) it correctly goes off but ANY colour sent in the next command results in fully brightness either white or green. Subsequent writes are correct colour until the next black.

Jim

Edit: My 'good' pico boards use B1 chips while the new black boards use B2 chips.
I hope that is not the reason and newer chips are all limited!
Edited 2023-01-24 13:44 by TassyJim
VK7JH
MMedit   MMBasic Help
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 3511
Posted: 06:20am 24 Jan 2023
Copy link to clipboard 
Print this post

This board uses a linear regulator for the rp2040. Maybe it cannot supply sufficient power to run the rp2040 at high speed.

Try powering the 3.3v from a genuine picomite 3.3v.

Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 07:46am 24 Jan 2023
Copy link to clipboard 
Print this post

My boards are B2
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5714
Posted: 11:16am 24 Jan 2023
Copy link to clipboard 
Print this post

It should be able to handle the current. In theory. :) The linear regulator is rated for 300mA, the switcher for 350mA IIRC. The current drawn by the RP2040 is probably less than 100mA at max overclocking. The switcher has been measured at 43mA input at 5V/252MHz. Allowing for 85% efficiency, that would be about 77mA at 3V3 into the RP2040 if I've worked it out correctly.

This is a B2 too.

If I bitbang with 0 it goes off. If I then bitbang with Red I get a pale green at full brightness. If I then bitbang with Red again I get red. :)
Even more charming - If I keep sending zero it alternates between off and some colours - mostly the greens and blues. This problem seems to completely go away by reducing the CPU speed to 200MHz. Perhaps better not to push these boards. :)
Edited 2023-01-24 21:34 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 3511
Posted: 02:03pm 24 Jan 2023
Copy link to clipboard 
Print this post

Who knows ? picomite VGA...

I remember there was a change in the sprite file format, so it could use color 0 as transparent, or use it as black. I wanted to use it as black (CMM1 format).

How do I choose this ? May have missed it in the manual.

Volhout

EDIT: found it in the CMM2 manual. The SPRITE WRITE defaults to "orientation=4" meaning it uses color 0 as transparent. When you use orientation=0 (append ",0", you get the same behaviour as the CMM1.
Edited 2023-01-25 01:11 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 3511
Posted: 07:41am 01 Feb 2023
Copy link to clipboard 
Print this post

@Peter,

Thank you for the file system in the pico itself (the A: drive). I have used it a lot, and it simply works. Good job !!

Volhout
PicomiteVGA PETSCII ROBOTS
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 840
Posted: 11:22pm 26 Feb 2023
Copy link to clipboard 
Print this post

Geoff/Peter - a very minor glitch?

I was looking to use "OPTION ANGLE Degrees" on a Pico (non VGA & non -W) Ver 5.0706.
I suspect it doesn't exist (I can use radians) but the Pico manual says (when you search on "OPTION ANGLE").

"The yaw, pitch and roll angles default to radians but respect the setting of
OPTION ANGLE"

This is from the CMM2 manual and may not apply to the Pico??

Cheers,

Andrew
 
Tekguy
Newbie

Joined: 01/03/2023
Location: United States
Posts: 6
Posted: 05:25pm 04 Mar 2023
Copy link to clipboard 
Print this post

Hello everyone!

New guy to the forum.  I got a couple of units from sparkfun (both 16M)
I got the rp2040 pro micro (small) and the rp2040 thing plus.

The thing plus has an SD card slot, ws2812, lipo connection and boot/reset buttons.  It is also usb-c.  I like it so far except the one problem I'm having.

Im trying to get the thing plus SD card to work, non-vga version of mmbasic.
All I get is sdcard not found.  Ive tried a couple different option sdcard settings but it's a pain because I can't change it and have to nuke/reflash it when I want to try again.

I looked at the mmbasic manuals (both vga, and non-vga) and the SD pins are different.

My board is set up like this:
GPIO 09: DATA 3/CS
GPIO 10: DATA 2
GPIO 11: DATA 1
GPIO 12: DATA 0/CIPO (or Peripheral's SDO)
GPIO 14: CLK/SCK
GPIO 15: CMD/COPI (or Peripheral's SDI)

If anyone has any ideas, I'd really appreciate some feedback.

Thanks!
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 05:30pm 04 Mar 2023
Copy link to clipboard 
Print this post

Option system spi gp14,gp15,gp12
Option SD card gp9
Edited 2023-03-05 03:30 by matherp
 
Tekguy
Newbie

Joined: 01/03/2023
Location: United States
Posts: 6
Posted: 06:08pm 04 Mar 2023
Copy link to clipboard 
Print this post

That worked!

Thank you so much!

You guys really know your stuff, I appreciate the help, and the speed!
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 1781
Posted: 09:30pm 04 Mar 2023
Copy link to clipboard 
Print this post

"I've tried a couple different option sdcard settings but it's a pain because I can't change it and have to nuke/reflash it when I want to try again."

Permanant options can be changed by first deleting them then enter your new options.

Option System SPI Delete
Option SD Card Delete

Option system spi gp14,gp15,gp12
Option SD card gp9
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1082
Posted: 04:58am 08 Mar 2023
Copy link to clipboard 
Print this post

What fun! Try this on a PicoMite:
> ? mm.info(version)
5.0706
> ? 2 ^ 1.5
2.828427125
> ? -2 ^ 1.5
=== and out go the lights ===

(Then power cycle or reset the device to continue your exploration.)

On a CMM2, the result is "Overflow" and you get the prompt back.
Visit Vegipete's *Mite Library for cool programs.
 
nbrok

Regular Member

Joined: 13/02/2023
Location: Netherlands
Posts: 59
Posted: 06:00am 08 Mar 2023
Copy link to clipboard 
Print this post

  vegipete said  What fun! Try this on a PicoMite:
> ? mm.info(version)
5.0706
> ? 2 ^ 1.5
2.828427125
> ? -2 ^ 1.5
=== and out go the lights ===

(Then power cycle or reset the device to continue your exploration.)

On a CMM2, the result is "Overflow" and you get the prompt back.


On the latest beta version I get the same result... pico is hanging.    
version 5.070721 pico web.

On version 5.07.07.07b24 no vga pico does a reboot.
The program in flash is then deleted.

@peter,

I hope this is solvable.. but thanks for your awesome work anyway.
Edited 2023-03-08 16:15 by nbrok
Greetings,
Nick de pe1goo
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3654
Posted: 10:10am 08 Mar 2023
Copy link to clipboard 
Print this post

  vegipete said  > ? -2 ^ 1.5
=== and out go the lights ===
(Then power cycle or reset the device to continue your exploration.)

Oh, that looks to be the Pico's implementation of (the C function) exp.

Probably means checking a bad argument isn't being passed in (to fun_exp in MMBasic's Functions.c).

Some systems can return a NaN (in this case probably -NaN). Looks like the Pico just crashes, which is allowed (I think) but not helpful!!

John
Edited 2023-03-08 20:11 by JohnS
 
atmega8

Guru

Joined: 19/11/2013
Location: Germany
Posts: 712
Posted: 12:54pm 08 Mar 2023
Copy link to clipboard 
Print this post

Same on
5.070721

Hangs, need for hardreset.
Programm and Option resist.
Edited 2023-03-08 22:55 by atmega8
 
Tekguy
Newbie

Joined: 01/03/2023
Location: United States
Posts: 6
Posted: 01:09pm 08 Mar 2023
Copy link to clipboard 
Print this post

Thank you all for excellent info!

Is there a command that displays all option settings?
 
Pluto
Guru

Joined: 09/06/2017
Location: Finland
Posts: 329
Posted: 01:10pm 08 Mar 2023
Copy link to clipboard 
Print this post

OPTION LIST
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 1642
Posted: 06:47pm 08 Mar 2023
Copy link to clipboard 
Print this post

Trying V5.05.06 because it
"Adds support for the 480x320 IPS ILI9481 display (use code ILI9481IPS)"
I was using non vga picomite V5.07.07b2 and ILI9481 worked but V5.05.06 no display.
Flashed non vga picomite V5.07.07b2 again and all lcd is setup already. Will try Clear_Flash and try V5.05.06 again. Any problems with ili9481?

after clear_flash
option system spi gp18,gp19,gp16
> option sdcard gp22
> option lcdpanel ili9481,l,gp15,gp14,gp13
> option touch gp12,gp11
> gui test lcdpanel
command accepted but no display.
Edited 2023-03-09 05:19 by stanleyella
 
Pluto
Guru

Joined: 09/06/2017
Location: Finland
Posts: 329
Posted: 07:23pm 08 Mar 2023
Copy link to clipboard 
Print this post

ILI9488 has a problem. Search the forum for details and solutions.
ILI9481 seems to be OK as far as I know.
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 1642
Posted: 07:57pm 08 Mar 2023
Copy link to clipboard 
Print this post

using option lcdpanel ili9481ips and it works. is ips new?
code that ran before doesn't on v06
RUN
[55] Blit READ 1,10,10,16,16 'reads sprite1 from screen to blit buffer1
Error : Invalid on this display
>
Edited 2023-03-09 06:10 by stanleyella
 
     Page 5 of 6    
Print this page
© JAQ Software 2024