• Aucun résultat trouvé

uClinux on Coldfire processors

N/A
N/A
Protected

Academic year: 2022

Partager "uClinux on Coldfire processors"

Copied!
1
0
0

Texte intégral

(1)

uClinux on Coldfire processors

uClinux:

•port of linux for processors without Memory Management Unit,

•minimal memory requirement,

•full image (kernel+applications+libraries<2 MB)

Coldfire CPU (Motorola):

•commercially available: Arcturus Networks uCdimm5272, SSV DNP5280

•low power consumption,

•powerful (66 MHz) ...

•while providing useful hardware peripherals:

- SPI, I2C (Coldfire 5282 only), RS232, ethernet busses - analog to digital conversion for the Coldfire 5282

Applications:

•image acquisition and processing

•acquire analog values (environment: temperature, pressure ...)

•airborne applications (balloon, radio controlled plane)

eth0

ttyS0

5−12V

bus : ports A−C

camera2 camera1 uCdimm5272

regul. 3.3 V

High resolution image obtained using a remote controlled (RS232) digital camera

Developpment environment:

• linux provides scheduler, memory management, libraries (jpeg, TCP/IP, zlib, pthreads ...)

• cross-compilation (m68-elftoolchain) on PC

• execute program from NFS or flash in non-volatile memory (4-8 MB)

• mix of system programming (use linux modules) and microcontroller direct hardware access

•hardware access fromuser spaceon the 5272, requireskernel mod- ulefor the 5282

Example for accessing a parallel port (GPIO):

#include <asm-m68knommu/m5272sim.h> // defines PADDR

*((volatile unsigned short *)(MCF_MBAR+MCFSIM_PCDDR))=0xe0ff; // PA, PB

*((volatile unsigned char *)(MCF_MBAR+MCFSIM_PCDAT+1))|=0x04; // PA val=*((volatile unsigned char*)(MCF_MBAR+MCFSIM_PCDAT )) ; // PB

Low resolution images: B/W Connectix Quickcam connected to the 5272 GPIO ports

Results:

• stereoscopic imaging with motorized black and white webcams

• direction connexion of a color CMOS camera to the Coldfire data bus (higher framerate)

•recording of analog values via microcontroller on RS232 port for Cold- fire 5272, or direct QADC programming on Coldfire 5282

Eight available analog inputs for environmental monitoring, here for example for temperature monitoring.

/dev/ttyS0 Coldfire 5272 +3.3V

LM3510 mV/degC ADuC 814 RS232

Coldfire 5282 QADC

0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5

x 104 15

20 25 30 35 40 45

time (s) temperature (oC)

LM35 temperature sensor (indoor, night 01/06/05)

soldering iron on sensor

sunrise 9:15 PM

sun through window hits the sensor

running average 10 points

Left: temperature reading over night as monitored by the QADC of the 5282 connected to an LM35 sensor. Right: color image captured from an Omnivision OV6620 connected to the data bus, transmitted to ground by NFS, using an DLink-810+ ethernet-wifi converter.

Reference: J.-M Friedt, S. Guinot, ´E. Carry,Introduction au Coldfire 5272 et uClinuxLinux Magazine France73, June 2005 [in French]

1

Références

Documents relatifs

4: Heating coefficient α along the kick direction versus Weyl point displacement δ in momentum space (resp. trap center displacement in position space) for kicks along x (blue) and

Dans la scène où se déroule l’interaction verbale, presque toutes les pratiques langagières des algériens sont empreintées par l’alternance codique d’une manière ou

The competitive ELISA herein described employed monoclonal antibodies that were allowed to react with plastic coated human IgG in the presence of either the

But overexpressed ING4 in the cells with liprin α1 knockdown (Fig. 5A; lanes, Lip-KD1+ING4 and Lip-KD2+ING4) did not further suppress cell

intermediate faults (oblique to both the rift axis and the perpendicular to the extension) are most 640. significant, especially in model B due to the overall kinematics of the

After a detailed review process, the two experiments made their choice for the analog front-end integration in the production chips: the differential front-end will be integrated in

start with the most useful design methods for integrated filters, make a survey of filter elements on silicon,.. consider applications and conclude with

Using bone marrow multipotent stromal cells (BM-MSCs), it was shown that injection of MSCs in the contralateral hemisphere, into the carotid vein or the tail vein led to the