Suggested boards for running uLisp?


#14

Hi there to all!

I think that MSP430 could be a good choice, using the Processing environment called Energia [http://energia.nu/], that is almost identical to Arduino IDE.
Probably it would be possible to recompile the whole thing on it with the necessary adjustments (I haven’t the deep knowledge that is mandatory about MSP430 chips to do this).
So, just a suggestion…


#15

Good suggestion - I’ll look into it.


#16

I’m looking forward to know something about it!
In the meantime, I’m currently using ulisp with my students on four old Arduino Diecimila (updated with 328) and two MEGA 2560. Everything is OK!
But my Lisp is fairly rusty, I tried to use (setq a 5) to produce a local variable, but it doesn’t work…


#17

Do you mean a global variable? Use defvar - see the language reference for more information.


#18

No, I mean a local variable: I yet used defvar to create a global variable, and everything is OK,but I liked to define a local one, and probably I don’t remember basic Lisp syntax correctly: sorry…I remebered (for that use) setq (that seems to work in CLISP 2.49).


#19

You can use let or let* to create and initialise local variables, then setq to change them.


#20

At the TI_Website I saw another interesting MSP430 Launchkit: MSP430FR5994 LaunchPad Development Kit
It has 256kB FRAM, 8kB RAM and a SD card slot. With this board really large project could be done; the images could be saved at the sd card freeing space for heap and stack (there may be 192k of free space for lisp programs giving ~40.000 cons cells).
It should be possible to write a simple file editor (maybe written in lisp?) and lisp-source-files could be saved on sd.
I think this would be a very good lisp-platform and with a keyboard and a graphic display it would be a great lisp-computer.
What do you think?


#21

Good suggestion - I didn’t know about the MSP430FR5994 LaunchPad.

One question is whether it can be supported by the Energia IDE. I’ll investigate.


#22

I think it is not supported by Energia-IDE, but maybe it is easy to add support for this board (add it to boards.txt; with arduino-ide this is often possible). I’ll try this as soon I have the board.
Maybe (I didn’t try) it is possible to import the project to TI’s ccs (at least there is a function to do this). Anyway, I haven’t tried this either…


#23

Let me know when you’ve got your board and tried a few experiments. Thanks!


#24

Sorry, but just adding the board to boards.txt is not enough. Trying to import ulisp to ccs leads to a compile error in ccs; for now I don’t know what’s the reason for this. I’ll try a few simpler examples to get more familiar with both systems.
It seems that the energia team plans to support the FR5994lp with their next release – I just didn’t find a release date for this…


#25

OK, thanks for the update.


#27

Have now added support for the FR5994 LaunchPad:

MSP430 FR5994 LaunchPad

SD card support should work when Energia adds an SD Card library to the core.


#28

What do you think about this board from T.I.? It’s seems to me inexpensive and very performing.

http://www.ti.com/tool/ek-tm4c1294xl?keyMatch=ek-tm4c1294xl&tisearch=Search-EN-Everything

I know that I’m boring, but when do you will release uLisp 2.2 for the ESP8266?

Best regards

Giancarlo


#29

what do you think about this board from T.I.? It’s seems to me inexpensive and very performing.

http://www.ti.com/tool/ek-tm4c1294xl?keyMatch=ek-tm4c1294xl&tisearch=Search-EN-Everything

Do you have one?

The ARM version of uLisp should work on it. Does Energia support it?

When do you will release uLisp 2.2 for the ESP8266?

I haven’t had any feedback about the ESP8266 2.0 beta 2 version so I didn’t think anyone was using it!

I’m just doing some work on what will be a 2.3 ARM version, so perhaps I’ll port that to the ESP8266 when it’s finished.


#30

Yes, I have one, and yes, Energia supports also this board.
I’ll try at once to upload the ARM version of uLisp! (Hoping so…)
Well, I have succesfully uploaded your ESP8266 version of uLisp on my
NodeMCU V2 Amica (by AZ - Delivery) and it works like a charm!


#32

Sorry for not giving any feedback for ESP8266 2.0 b2 (I did the fix myself and didn’t use 2.0 b2).
I think ESP8266 is the most interesting hardware platform because of performance and WiFi (ESP32 would be even more interesting because of much more memory (and a little faster than esp8266)).
I tryed ulisp on esp32 but I’m not sure about the result (it works roughly, I found some tweeks (but I can’t remember now) but I didn’t found much time to play during the last few weeks).
Thank you very much for your continuous work on the system,
regards,
Kaef


#33

Have you given any thought to the STM32F103C8, it has quite a bit of ram (20k), and is very inexpensive when bought as a “Bluepill”? I did some simple experimenst with a couple of different STM32 Arduino cores widely available, seems like it wanted to compile with exception of the wire.h functions, and of course, not having any of the #if… def conditionals edited to support the STM32F103 as an anticipated target.


#34

Yes, I’ve had uLisp running successfully on a NUCLEO-F114RE board, but there were problems with the Serial Monitor running via the serial interface.

I’ve got a Bluepill and haven’t tried it yet; can you connect to it via USB over the serial port, or do you need an FTDI board?


#35

Yes it requires a separate USB2TLL module, but the onboard boot loader works very well via the serial port, which is quite convenient. Your difficulty with the st-link v2.1 usb serial instance, might be a simple jumper, pin selection, or which serial port your using. Ordinarily it’s quite stable.

Do you have any instructions on how to build for the STM32F411? I just assumed you used the *.ino file, and let the Arduino IDE build it…