Re: Morse Code Tutor


Tom, wb6b
 

On Sat, May 18, 2019 at 09:35 AM, Jack Purdum wrote:
requires you to install the STM32F patch
Hi,

I planning on using this STM32 ARM board manager. This 32 bit ARM extension for Arduino is written by actual ST Microelectronics software engineers. It looks like it is based on the same libraries used in their STM32Cube (hopefully wrapped with all the same Arduino libraries Arduino people are familiar with). Unlike their professional development tools, the Arduino version also works for generic boards like the Blue Pill. For the Blue Pill it has a serial up-load option. I haven't tested it on a Blue Pill, but hopefully that means working with the standard boot loader that comes on the Blue Pill boards. 

To install this STM32 board tool chain, go to the Arduino preferences and add the following URL to the "Additional Board Manager URL's" box:
https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json

The Morse Code Tutor is a cool project, however I might use a NUCLEO-F303K8 development board because I have one in hand (they also have a board with the same chip as the Blue Pill. But I like the F303 because it has a built in Op-Amp(s) that can be used with the A2D converters). A cool thing about the Nucleo boards is you don't need a boot loader on the chip. The board has a second microprocessor chip that is an ST-Link programmer that programs the chip directly, without needing a boot loader, and debugger that lets you set break points and single step through your code.  And you don't need to select a USB serial port for ST-Link to connect. Even more cool is when you plug the board into your USB connector it emulates a USB thumb drive. You can just drag a hex file into the drive and it will flash the code into the microprocessor chip. The board costs $10 rather than $3 but are still a good value. 

Here is a Getting started page:
https://github.com/stm32duino/wiki/wiki/Getting-Started

Here is a link to the board:
https://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/mcu-mpu-eval-tools/stm32-mcu-mpu-eval-tools/stm32-nucleo-boards/nucleo-f303k8.html

A caveat. I have been using the ST Microelectronics development tools for STM32 (ARM) processors. It was only after seeing Jack's Code Tutor project that I looked to see what support there was for Arduino. I was very pleasantly surprised to see this tool chain. However, I have not tested it out to any extent or compiled Jack's Code Tutor yet. But, barring some unforeseen glitch I expect this to be a good library with the benefit that it is built on the same libraries I currently use. 

That's my vote. Interested if others have tried this or other board tool sets that they like.

Tom, wb6b





Join BITX20@groups.io to automatically receive all group messages.