Forum: µC & Digital Electronics eLua on STM32F4discovery

Author: Thomas M. (Guest)
Posted on:

Rate this post
0 useful
not useful
Hi, i'm trying to run eLua on a STM32F4discovery board.

I downloaded and flashed this image successfully:



But how can i send a Lua-file to the board?

I tried to connect the board with this adapter:


I used the Ports PB6 and PB7 for RX/TX and "Hterm" to establish the 
connection, but the eLua shell did not work...

Author: Martin Thomas (Guest)
Posted on:

Rate this post
0 useful
not useful
- re-try with a 3,3V transceiver, the mentioned device from Pollin is 
fro 5V operation

- PB7 RX and PB6 for TX should be ok
- the lua startup-message should show up (115200,8,n,1)
- shell should react on commands typed from terminal (i.e. help)

- use the recv command in the shell and a terminal-software which can 
transfer files using XMODEM to test a script
- scripts can also be placed in a filesystem (i.e. the ROMFS, needs 
rebuild of the binary)

(I have used the source from 
https://github.com/jsnyder/elua/tree/bikeNomad-master and build the 
binary myself for my tests.)

Author: Chris Z (Guest)
Posted on:

Rate this post
0 useful
not useful
Does this mean you have done a STM32F4 build of v0.8 that supports 
ROMFS? Would you be willing to post the binary?


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.