Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 17:03 29 Mar 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 : PicoMite V5.07.01b16: Breaking changes and CSUBs

     Page 2 of 3    
Author Message
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 839
Posted: 10:23pm 14 Sep 2021
Copy link to clipboard 
Print this post

Updated PicoCFunctions.h

USER is is OK at #25. Thanks

USERLCDPANEL  is now 25 to match latest firmware.

#define USERLCDPANEL   25


PicoCFunctions.zip

Regards
Gerry
Latest F4 Latest H7
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1755
Posted: 11:43pm 14 Sep 2021
Copy link to clipboard 
Print this post

@ Mixtel90
In the TINAM there are multiple SDCard and SD Card with a space. Not a problem except when searching.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5648
Posted: 07:09am 15 Sep 2021
Copy link to clipboard 
Print this post

Thanks. I'll have a look. It probably depended on context when I wrote it. :)
Mick

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

Joined: 11/12/2012
Location: United Kingdom
Posts: 8516
Posted: 12:28pm 18 Sep 2021
Copy link to clipboard 
Print this post

PicoMiteV5.07.01b19.zip


Matching the newly available full PicoMite manual.

Note that unlike any other current version of MMBasic the PicoMite will be open source subject to some standard licence conditions. The source will be made available on Github after the first full release.
Edited 2021-09-18 22:32 by matherp
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1028
Posted: 08:11am 19 Sep 2021
Copy link to clipboard 
Print this post

FYI

Core Electronics Aust showing off their new Pick & Place Machine about to populate expansion boards for the Pi Pico on their Facebook page here

Brian
ChopperP
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5648
Posted: 11:03am 19 Sep 2021
Copy link to clipboard 
Print this post

Now the official PicoMite manual is being sorted out (see its own thread) TINAM is no more. However, some of you won't have had anything to do with the PicoMite so I've decided to produce a little introductory leaflet. It's aimed at those who have used MMBasic but are unfamiliar with the PicoMite platform.

These little things are great fun - and cheap. Here in the UK it typically costs 3.60 UKP for a PicoMite and a further 3.00 UKP for postage! As it's the same postage for a few more it's tempting to stock up. :)


PicoMite 101.zip


Ooh Arr! It be International Talk Like A Pirate Day too, me hearties. That be one more thing to lift thee spirits!
Edited 2021-09-19 22:12 by Mixtel90
Mick

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

Joined: 17/05/2016
Location: United States
Posts: 2989
Posted: 01:11pm 19 Sep 2021
Copy link to clipboard 
Print this post

  Mixtel90 said  It be International Talk Like A Pirate Day too, me hearties.


What's a pirate's favorite letter of the alphabet? Ye might think it's "Rrrr", but a pirate's first love is the "C".
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8516
Posted: 09:13am 20 Sep 2021
Copy link to clipboard 
Print this post

PicoMiteV5.05.00b20.zip

Fixes minor bug in BLIT LOAD

BLIT WRITE no longer needs w and h to be specified as the dimensions of the blit bufffer are now stored with the data
BLIT WRITE [#]b, x, y[, w],[ h]


MM.INFO(ID) returns the unique ID of the Pico Board.
  Quote  RP2040 does not have an on-board unique identifier (all instances of RP2040 silicon are identical and have no persistent state). However, RP2040 boots from serial NOR flash devices which have a 64-bit unique ID as a standard feature, and there is a 1:1 association between RP2040 and flash, so this is suitable for use as a unique identifier for an RP2040-based board.


Tidy up of some error messages
Edited 2021-09-20 19:15 by matherp
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8516
Posted: 07:32am 22 Sep 2021
Copy link to clipboard 
Print this post

PicoMiteV5.07.00b21.zip


Fixes bug in re-enabling heartbeat

Minor change to improve compatibility with Linux terminal emulators like minicom

Fixes cut and paste bug in PWM3B, PWM4B, and PWM5B
Edited 2021-09-23 01:51 by matherp
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 3422
Posted: 07:58am 23 Sep 2021
Copy link to clipboard 
Print this post

I know it is very late in the game, but I do want to issue a feature request for the picomite.

Can we please store the programs in flash in ASCII format.

One of the features of the pico is that we have these 10 flash slots. People (like me) wire up a SD card in some cases, but in other cases use the flash as a mini flash file system.

But, like now with update b21 (comming from b19), the tokenized version stored into flash (I have 7 programs in there) needs complete rework (I already found the "=" is replaced by a ">").

We are still in beta, so this is understandable, and a lot of work, but this should not happen when the release is made (and also not between releases) since there will be complaints in the format "!@#$%..."

Regards,

Volhout
PicomiteVGA PETSCII ROBOTS
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5648
Posted: 08:27am 23 Sep 2021
Copy link to clipboard 
Print this post

I suspect they are tokenized because they are merely copied from RAM into flash. If you wanted them in ASCII they would have to be copied from the editor, not from a runnable program (which would necessitate expanding the tokens). Of course, ASCII in flash would also take up more space.

Breaking the contents of the flash slots because of firmware updates probably won't be for long now. It's a pain, I know, but updates are always manually carried out. Before I got round to using the SDcard I used xmodem to copy each slot. At least you get a backup copy on the PC that way, even if it's a bit slow.

Of course, if you save the slots, erase them, update and reload them you don't have to edit any of the contents.
Edited 2021-09-23 18:29 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: 3422
Posted: 09:37am 23 Sep 2021
Copy link to clipboard 
Print this post

Hi Mixtel90,

If you work from MMEdit, the problem also does not exist (it uses Xmodem).
It is just that when I am on travel I use my linux (chromebook) laptop and plug in a pico. Linux does not support MMEdit, so I use the pico editor, and when Xmodem works on GFXterm it may be a solution.

And in this case I was thrown off by Peters comment that there where only minor bugfixes between b19 and b21. No new commands. That is why I did not expect the tokenizing to be different. But it is.

In the end, it was my own fault. I did not make backup copies before updating the firmware. But it feels a bit like "!@#$%....".

Volhout
PicomiteVGA PETSCII ROBOTS
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5648
Posted: 10:33am 23 Sep 2021
Copy link to clipboard 
Print this post

Yeah...  I did the editing thing a couple of times then vowed never to to an update unless I had a backup of the flash slots first! It does indeed feel like "!@#$%....". lol
Mick

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

Joined: 11/12/2012
Location: United Kingdom
Posts: 8516
Posted: 04:55pm 23 Sep 2021
Copy link to clipboard 
Print this post

Put the old version back on then you can backup the flash. If I store ASCII in flash then you lose flash chain, so no
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5867
Posted: 08:39pm 23 Sep 2021
Copy link to clipboard 
Print this post

  Quote   Linux does not support MMEdit,

I'm working on V5, give me a few more weeks...

The new version of MMEdit may not have the file manager in the first beta but I do intend to cater for the FLASH storage on the pico.

I assume that you can run Wine on chromebooks. If so MMEdit runs OK under Wine now.

Also, you don't need XMODEM to get you files off the pico. FLASH LIST should give you a listing of all flash slots in one easy go. ( us ea SD so haven't tried that yet)
You will have to manually split them into their respective files.
Getting code onto the pico is easy with AUTOLOAD and that is the way I prefer.
You can do all that with GFXterm.

Jim
VK7JH
MMedit   MMBasic Help
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 3422
Posted: 10:19am 26 Sep 2021
Copy link to clipboard 
Print this post

Can anyone tell me why this does not work ?


input "set time HH:MM:SS ";Time$


Just curious...
It is not a show stopper since below works...


Input "set time HH:MM:SS ";t$
Time$ = t$


This was my fix until my DS3231 came in. Thats why I ask.
PicomiteVGA PETSCII ROBOTS
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5648
Posted: 11:06am 26 Sep 2021
Copy link to clipboard 
Print this post

I suppose that Time$ isn't really a string, it's a function. Input only accepts variables.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
led-bloon

Senior Member

Joined: 21/12/2014
Location: Australia
Posts: 202
Posted: 03:18am 28 Sep 2021
Copy link to clipboard 
Print this post

Peter
With PIO pinctrl helper function:
PIO (PINCTRL num_side_set_pins[,num_set_pins] [,num_out_pins][,IN base][,side_set_base] [,set_base],?????)

I wish to output from an OSR register to a GPIO pin, using the "OUT" instruction.
However, the helper function does not seem to have the "out_base" parameter needed for configuration.
Can you confirm, or, is the manual incorrect?

led
Miss you George
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8516
Posted: 07:33am 28 Sep 2021
Copy link to clipboard 
Print this post

Manual needs updating correct syntax is:

PIO (PINCTRL num_side_set_pins[,num_set_pins] [,num_out_pins] [,IN base] [,side_set_base] [,set_base] [,out_base])


Code should be correct
Edited 2021-09-28 17:34 by matherp
 
led-bloon

Senior Member

Joined: 21/12/2014
Location: Australia
Posts: 202
Posted: 11:02am 28 Sep 2021
Copy link to clipboard 
Print this post

Thanks Peter, thought as much.  Back to the "drawing board".
Miss you George
 
     Page 2 of 3    
Print this page
© JAQ Software 2024