Search found 5 matches

by mribelotta
Wed Jan 29, 2014 12:03 am
Forum: General Support
Topic: Intercept SVC call from user space con ARMv7M
Replies: 2
Views: 1990

Re: Intercept SVC call from user space con ARMv7M

Thanks Giovanni! The solution for my problem is use CORTEX_SIMPLIFIED_PRIORITY defined to TRUE.

The code that I want to run in user mode, is loaded from an external ELF using this library:
https://github.com/martinribelotta/elfloader
And I need to protect the OS execution of faulty or malicious code.
by mribelotta
Tue Jan 28, 2014 8:49 pm
Forum: General Support
Topic: Intercept SVC call from user space con ARMv7M
Replies: 2
Views: 1990

Intercept SVC call from user space con ARMv7M

I try to build code on unprivileged ARMv7m land (user mode) and comunicate with OS using "SVC #n" instrucction. In https://github.com/mabl/ChibiOS/blob/master/os/ports/GCC/ARMCMx/chcore_v7m.c#L58 the code shows that the SVC instruction ignores the value of #n. This is the correct way to in...
by mribelotta
Wed Jul 31, 2013 11:51 pm
Forum: User Projects
Topic: ChibiOS STM32F4 usb shell + Javascript interpreter
Replies: 6
Views: 5095

Re: ChibiOS STM32F4 usb shell + Javascript interpreter

Other interesting project on this line:

https://github.com/mimaki/stm32-mruby

The first point of my project is provide a stand alone system (through support of VGA/PS2) usable on out-of-door enviroments. In this view, the interpreter-only support is not much atractive than elf-loader system.
by mribelotta
Mon Jul 15, 2013 1:22 pm
Forum: User Projects
Topic: ChibiOS STM32F4 usb shell + Javascript interpreter
Replies: 6
Views: 5095

Re: ChibiOS STM32F4 usb shell + Javascript interpreter

Yes, the idea is load scripts from VFS (rom/fat/ram/nfs) but the project is in early stages (my time si very limited in to week) Respect of the RTOS API exported to JS I am undecided between a direct export API one to one or opt for a POSIX abstraction layer (or similar) Important note: At this mome...
by mribelotta
Sun Jul 14, 2013 11:44 pm
Forum: User Projects
Topic: ChibiOS STM32F4 usb shell + Javascript interpreter
Replies: 6
Views: 5095

ChibiOS STM32F4 usb shell + Javascript interpreter

Hi Guys. I start this project (in very early stage) to build an enviroment for embedded scripting centered (but not limited) into javascript TinyJS interpreter trying to emulate the features found in Esrurino and eLua system but using a real RTOS under the interpreter. https://github.com/martinribel...

Go to advanced search