Page 1 of 1

Flowcode on Linux

Posted: Mon Mar 10, 2025 8:36 pm
by mnfisher
Having read about the upcoming demise of Windows 10 (at least from a update point of view) and having a PC with no hope of ever getting Windows 11....

I thought I'd try running Flowcode under Linux..

My Ubuntu VM was not working well :(

Does it work - Yes :-) At least to be able to compile / simulate a program.

I used Fedora - from https://fedoraproject.org

After a long (multiple failure) download of several hours. I installed it on an old HP EliteDesk with a 5th gen i5 (I think) - not sure I like the desktop / start menu type layout - but having spent so long downloading it would have to do,,, (and of course it can be changed)

Installed wine. Download FC - and installed under wine. Install ran AOK - but program failed (whirly wheel then nothing)

Installed bottles. Created a new bottle - and installed FC. Install ran AOK and FC - opened a window before multiple timeouts (ge_steam_portent)

For fun (and as it seemed to be the point of failure) installed steam.

FC - now runs :-) Installed the AVR toolchain. Edit and compile a blinkie for Arduino.

A few issues - I had to set a screen scaling of 200% (in settings->display->advanced) for FC t be legible (on a 4k display) - then I used FC's settings to tweak font size etc.

There doesn't seem to be an easy way to upload the program hardware - the USB port doesn't seem to work in bottles... There must be a way around this?

There is a 'lump' of windows (or parts thereof at the top left of my display) - these look to be components of the simulation window and they are not moveable (or hideable). They don't affect the compilation of code however...

I was (pleasantly) surprised by how easy it was to get to this stage - and with a way to upload the hex files it would be a pleasant work environment. Running on a relatively slow (compared to my usual i9) PC - performance is very good. Flowcode is responsive - and everything I have tried so far works perfectly....

Anyone be persuaded to have a go?

Martin

Re: Flowcode on Linux

Posted: Tue Mar 11, 2025 9:06 am
by mnfisher
Got avrdude up and running - although not from within flowcode. Turned out first USB cable had a fault, so Arduino not showing up...

So - it is possible to work with FC from within Linux - at least for AVR MCUs - might try another toolset (probably PIC8 next).

Martin

Re: Flowcode on Linux

Posted: Tue Mar 11, 2025 9:21 pm
by mnfisher
It also works with the PIC8 compiler with a slight oddity...

Attempting to alter one of the configuration bits (actually to turn off the enhanced instruction set) - just gave an empty box. The enable / disable appeared in a separate 'window' in the top left cluster -and I could select disable. Then PIC would compile AOK...

To program the Arduino I used:

Code: Select all

sudo avrdude -v -p atmega328p  -c arduino -P /dev/ttyACM0 -b 115200 -D -U flash:w:Flowcode1.hex:i
Martin

Re: Flowcode on Linux

Posted: Wed Mar 12, 2025 5:55 am
by chipfryer27
Hi

I eagerly await your next project, "Home Surgery Using Rusty Spoons" :lol:

Regards