eLua on STM32F4discovery

Guest #2923715
Rate this post
• ▲ useful
▼ not useful
Hi, i'm trying to run eLua on a STM32F4discovery board.

I downloaded and flashed this image successfully:

http://dd.homeunix.com/home/space.php?uid=1&do=blog&id=90

http://dd.homeunix.com/home/attachment/public-File/elua_lua_stm32f407vg-20111103.hex

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

I tried to connect the board with this adapter:

http://www.pollin.de/shop/dt/MzY5OTgxOTk-/Bausaetze_Module/Bausaetze/RS232_TTL_Wandler_Bausatz.html

I used the Ports PB6 and PB7 for RX/TX and "Hterm" to establish the 
connection, but the eLua shell did not work...
Guest #2923849
Rate this post
• ▲ 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.)

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.