Advice on upgrade from LPC82x to Linux based processor

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Advice on upgrade from LPC82x to Linux based processor

497 次查看
jeremyprice
Contributor I

I need some help on deciding on a processor, and apologise if I sound ignorant as I am not technical.

We run a GPS pet tracking service. We have some software which is currently running on the LPC82x processor. However we would also like to use some other software which currently runs on Linux.

Is there a processor which will run Linux, and at the same time we can port the existing code across without having to make too many changes?

Many thanks

Jeremy

1 回复

429 次查看
converse
Senior Contributor V

A processor capable of running Linux is very different to an LPC8xx MCU. Apart from other things, below, typically a system running Linux will be physically larger than an MCU-based system.

It is highly unlikely that you will find something that allows you to run your LPC8xx code unchanged as this code is going to be accessing the peripherals directly and this is not normally possible in Linux (you access peripherals through drivers, but this can make the coding much simpler). Also your code would probably run as a task (or tasks) under Linux.

Next, what is the structure of the code. Is it just a simple loop, does it use interrupts, is it using an RTOS etc? Does it have hard real-time requirements (hard real-time is not normally possible in standard Linux)

What peripherals and other features of the LPC8xx are you using/are required.

Have you considered attaching your existing LPC8xx design to a Linux system, perhaps using a UART, SPI, USB?

Without know your exact requirements it is difficult to give a definitive answer.