¿ªÔÆÌåÓý

Re: Trouble ahead


 

Jerry

I'm still confused.? Can I plug a USB 2.0 micro cable into a USB 3.0
connector??

On-line information on the RP2040 chip is somewhat limited, but implies
that it is compatible with code written for ARM-Cortex series processors,
which have been used in PDA's for many years.? Is the RP2040 an
improvement over a real ARM-Cortex, or just a clone of that device?
What language does the RP2040 run on?? Since it is an ARM-Cortex
derived system I was assuming that code for it could be developed
in C-language and loaded as .hex code applications...?? What am I
missing?


I have been using the US$5.00 Pi-Zero as a networked print server for
several years.? I added a power supply, USB-2 hub, network connection,
and a 512 GB TF card (gross overkill!). to make the server.? That allows?
one printer can be accessed by any of my PCs or cell phones.? I even
punched a protected hole in my firewall so the printer can be accessed
remotely.

Yes, if the Raduino could be redesigned to use a more full-featured OS
and applications it could really upgrade the features and opportunities
for Raduino and attached uBITX.?

Arv
_._




On Sun, Mar 21, 2021 at 2:10 PM Jerry Gaffke via <jgaffke=[email protected]> wrote:
Arv,

First a quick paragraph for those who don't know an RPi-Zero from an RPi-Pico:

Using a Raspberry Pi running linux as a host computer has been done, could work well.
In post #86951, WA4THR mentioned that a Pi-Zero worked fine running Fldigi.
RPi's don't get any wimpier than the Zero, a Pi-4 would run circles around it.
Farhan is thinking of replacing the Nano on the Raduino with an RPi-Pico.
The Pico is a new microcontroller like the Nano, it does not run Linux.
One advantage of the Pico is that the RP2040? processor chip was designed less than 30 years ago.

Arv said:

> Note that the latest RsPi has USB-3 interface which is not compatible with any
> USB-1 or USB-2 peripherals or cables.

The RPi-Zero has a single USB 2.0 port (plus a second USB connector for power).
The RPi-4 has? four USB ports, two are USB 3.0 and two are USB 2.0.
? ??

I'd be surprised if you couldn't plug a 20 year old USB keyboard into a USB 3.0 port and have it work.
From? ?
"Yes, USB 3.0 backwards is compatible¡ªmeaning it¡¯s designed to work with older USB versions including USB 2.0 and USB 1.1."

> I have never seen a RsPi Pico packaged on reels...that sounds a bit
> awkward!? 8-)
?

Now you have.
On a reel so a pick and place machine can load them up? on a board just like a 1206 cap.
They want to sell lots of them.
Looks considerably less awkward than a 1500 ball FPGA.

>? Tool chain (programming tools) for the Arduino is about as simple
>? as one can get if using the Arduino IDE.? But there is a gotcha that
>? affects Linux or linux derivative development.?

I'm running Arduino version 1.8.13 under linux with no trouble.
Actually, it's on a small Chromebook in developer mode under Crouton with Xubuntu focal.
Most linux installs won't be quite that weird, but even I had no trouble getting it going.

I find the Arduino IDE a bit infuriating at times, much prefer just building from a command prompt with gcc.
That may not be for everybody.
I suspect the RPi tool chain will be done right, yet quite beginner friendly.
And that if using hardware resources specific to the RPi-Pico, it will be easiest with the RPi tool chain.

> If you want to use some other IDE you may have to import and install
> one of the several versions of arduino.h, and maybe more libraries if
> using a more recent version of the Arduino PCB or its non-AVR clones.

Or you could just leave Arduinoland.
I'm looking forward to programming the RPi-Pico using the RPi C/C++ SDK?
on an RPi-4 host computer.??
Python could be even easier for beginning programmers, no reason the
entire uBitx project couldn't be coded in Python.? But I suspect many will
prefer the Arduino way, and sticking with C would make it easier to port
between the two.

The advantage of the Arduino IDE is that it supports dozens of microcontroller?
breakout boards ranging from the Nano to the Teensy4.1.
Easy to get an LED blinking on any of those boards.
The disadvantage of the Arduino IDE is that it is trying to support dozens of
different microntrollers simultaneously, which can get very confusing, and
means that it may not support all of them very well.
That, and even the documentation for the most basic Arduino libraries
is not very good, I suspect even those who programmed the libraries
haven't thought about many of the edge cases.

Jerry, KE7ER



On Sun, Mar 21, 2021 at 11:58 AM, Arv Evans wrote:
If replacing the Arduino with a Raspberry Pi then any of the RSPi
versions should be more than fast enough.?
?
If using a RsPi as the attached PC for interface with an Arduino the
fastest and most memory version of RsPi would probably be best.?
You will need a USB Hub if using more than one USB connection
to your RsPi (Kybd, Monitor, mouse, and Raduino).? Note that the
latest RsPi has USB-3 interface which is not compatible with any
USB-1 or USB-2 peripherals or cables.
?
I have never seen a RsPi Pico packaged on reels...that sounds a bit
awkward!? 8-)
?
?
I see that there is a work-alike replacement (?) for the Si5351a as
an Asian developed MS5351.? This seems to be built for China
internal use and for their space effort.? Quality should be good
because this was developed for their very critical space systems.?
Problem is that to-date I have not been able to find a detailed
datasheet or application notes in English.?
?
?
Tool chain (programming tools) for the Arduino is about as simple
as one can get if using the Arduino IDE.? But there is a gotcha that
affects Linux or linux derivative development.? The Arduino IDE available
in Linux repositories says it is version 2.x but actually it is version 1.0
and is not being updated by Linux repository maintainers.? This seems
to be close to being solved, but there are still rumors, hype, and facts
to be fixed.? See the URL below to find out all about the Arduino and
the Arduino IDE licensing fubar.
?
?
If you want to use some other IDE you may have to import and install
one of the several versions of arduino.h, and maybe more libraries if
using a more recent version of the Arduino PCB or its non-AVR clones.
?
Hope some of this helps.? I have been using Arduino and the Arduino IDE
for several years.? The IDE does allow one to write straight C-code and/or
C-code augmented with C++ routines.? It is also quite easy to write C-code
for debugging on a PC (I use "Geany IDE")and then port that code to the
Arduino platform by replacing PC I/O calls with Arduino I/O routines.? This
includes software based floating point and software printf( ) routines
specifically for the Arduino/AVR hardware.
?
Arv
_._
?

Join [email protected] to automatically receive all group messages.