wish to store a pic *.jpg in ARM 7 ( philips LPC 2106) mcu?

E

easyarm

Guest
want to store a pic *.jpg in ARM 7 ( philips LPC 2106) mcu?

does any one has any ideas of how to do this?
 
"easyarm" <easyarm@on_earth.com> wrote in message
news:brbnf7$m7c239@imsp212.netvigator.com...
want to store a pic *.jpg in ARM 7 ( philips LPC 2106) mcu?

does any one has any ideas of how to do this?
It's just binary data. Store it as any data array. The exact instructions
depend on your set-up.

How are you going to use the stored data?

HTH

Tauno Voipio
tauno voipio @ iki fi
 
Tauno Voipio <tauno.voipio@iki.fi.NOSPAM.invalid> wrote in message
news:R5eCb.27$fm.20@read3.inet.fi...
"easyarm" <easyarm@on_earth.com> wrote in message
news:brbnf7$m7c239@imsp212.netvigator.com...
want to store a pic *.jpg in ARM 7 ( philips LPC 2106) mcu?

does any one has any ideas of how to do this?

It's just binary data. Store it as any data array. The exact instructions
depend on your set-up.
how do u convert a pic to 1/0?

How are you going to use the stored data?

I do not wish to store diskonchip but the mcu.


HTH

Tauno Voipio
tauno voipio @ iki fi
 
want to store a pic *.jpg in ARM 7 ( philips LPC 2106) mcu?

does any one has any ideas of how to do this?

It's just binary data. Store it as any data array. The exact instructions
depend on your set-up.

how do u convert a pic to 1/0?
It is already. Any data (even this I am writing) is stored in 1s and
0s :)


Maybe tell us your compiler setup ?

Easy with gnu:

file: pic.S

.data
.globl my_pic
my_pic: .incbin "mypic.jpg"

No compile and link with your programs.

I do not wish to store diskonchip but the mcu.
"to store" is general. It does not necessarily need a disk.

---
42Bastian
Do not email to bastian42@yahoo.com, it's a spam-only account :)
Use <same-name>@epost.de instead !
 
42Bastian Schick <bastian42@yahoo.com> wrote in message
news:3fd97d85.6755263@News.CIS.DFN.DE...
want to store a pic *.jpg in ARM 7 ( philips LPC 2106) mcu?

does any one has any ideas of how to do this?

It's just binary data. Store it as any data array. The exact
instructions
depend on your set-up.

how do u convert a pic to 1/0?

It is already. Any data (even this I am writing) is stored in 1s and
0s :)


Maybe tell us your compiler setup ?

Easy with gnu:

file: pic.S

.data
.globl my_pic
my_pic: .incbin "mypic.jpg"

No compile and link with your programs.


I do not wish to store diskonchip but the mcu.

"to store" is general. It does not necessarily need a disk.

---
42Bastian
Do not email to bastian42@yahoo.com, it's a spam-only account :)
Use <same-name>@epost.de instead !


can u suggest a color LCD ( smaller- I do not know about its size) that can
be connect to a philipz LPC 2106 (like Leon's schematic)?


TIA.
 
MyArm wrote:

42Bastian Schick <bastian42@yahoo.com> wrote in message
news:3fd97d85.6755263@News.CIS.DFN.DE...

want to store a pic *.jpg in ARM 7 ( philips LPC 2106) mcu?

does any one has any ideas of how to do this?

It's just binary data. Store it as any data array. The exact

instructions

depend on your set-up.

how do u convert a pic to 1/0?

It is already. Any data (even this I am writing) is stored in 1s and
0s :)


Maybe tell us your compiler setup ?

Easy with gnu:

file: pic.S

.data
.globl my_pic
my_pic: .incbin "mypic.jpg"

No compile and link with your programs.


I do not wish to store diskonchip but the mcu.

"to store" is general. It does not necessarily need a disk.

---
42Bastian
Do not email to bastian42@yahoo.com, it's a spam-only account :)
Use <same-name>@epost.de instead !




can u suggest a color LCD ( smaller- I do not know about its size) that can
be connect to a philipz LPC 2106 (like Leon's schematic)?
He's referring to my little LPC210x development board:

http://www.geocities.com/leon_heller/lpc2104.html

It shouldn't be difficult to interface a suitable LCD graphics display
and controller to the '2106 I/O.

Leon
 
It is already. Any data (even this I am writing) is stored in 1s and
0s :)


Maybe tell us your compiler setup ?

Easy with gnu:

file: pic.S

.data
.globl my_pic
my_pic: .incbin "mypic.jpg"

No compile and link with your programs.
why there is no compile or link necessary?

it has to be *.hex form before loading it up to philips mcu.

correct me if I am wrong.
 
easyarm wrote:
It is already. Any data (even this I am writing) is stored in 1s and
0s :)


Maybe tell us your compiler setup ?

Easy with gnu:

file: pic.S

.data
.globl my_pic
my_pic: .incbin "mypic.jpg"

No compile and link with your programs.

why there is no compile or link necessary?

it has to be *.hex form before loading it up to philips mcu.

correct me if I am wrong.
Only if you are uploading via the serial port. If you are using a JTAG
interface it's a standard executable created by the linker.

Leon
 
No compile and link with your programs.
why there is no compile or link necessary?
Sorry, a typo I often do: Missing the 'w'

I meant: _Now_ compile and link with your program.
---
42Bastian
Do not email to bastian42@yahoo.com, it's a spam-only account :)
Use <same-name>@epost.de instead !
 
Take a step back and analyse the problem.

I am assuming that you want to store the image(s) in ROM. Work out the size
of you image. If you have some space to throw away, store the image as a
bitmap, much easier to decode. There is plenty of programs out there that
will spin a bmp into a hex format suitable for MCU's.

If space is limited, maybe you could look at some kind of simple
compression, such as RLE. Not quite as good as jpg, but much better than
bmp. You could even manufacture your own RLE algorithm. Failing that, i
guess jpg is an option, but it will take some work to decode, unless there
is some free source available.


"Leon Heller" <aqzf13@dsl.pipex.com> wrote in message
news:3fda9122$0$28692$cc9e4d1f@news.dial.pipex.com...
easyarm wrote:
It is already. Any data (even this I am writing) is stored in 1s and
0s :)


Maybe tell us your compiler setup ?

Easy with gnu:

file: pic.S

.data
.globl my_pic
my_pic: .incbin "mypic.jpg"

No compile and link with your programs.

why there is no compile or link necessary?

it has to be *.hex form before loading it up to philips mcu.

correct me if I am wrong.

Only if you are uploading via the serial port. If you are using a JTAG
interface it's a standard executable created by the linker.

Leon
 
The Real Andy <ihatehifitrolls@yahoo.com.au> wrote in message
news:3fdc32a0$1@dnews.tpgi.com.au...
Take a step back and analyse the problem.

I am assuming that you want to store the image(s) in ROM. Work out the
size
of you image. If you have some space to throw away, store the image as a
bitmap, much easier to decode. There is plenty of programs out there that
will spin a bmp into a hex format suitable for MCU's.

If space is limited, maybe you could look at some kind of simple
compression, such as RLE. Not quite as good as jpg, but much better than
bmp. You could even manufacture your own RLE algorithm. Failing that, i
guess jpg is an option, but it will take some work to decode, unless there
is some free source available.


"Leon Heller" <aqzf13@dsl.pipex.com> wrote in message
news:3fda9122$0$28692$cc9e4d1f@news.dial.pipex.com...
master student or phd student able to implement dram with arm board. I think
I should him and ask for a favour. I have brought 8M ram on chip.

that should large enought to store a web site.


easyarm wrote:
It is already. Any data (even this I am writing) is stored in 1s and
0s :)


Maybe tell us your compiler setup ?

Easy with gnu:

file: pic.S

.data
.globl my_pic
my_pic: .incbin "mypic.jpg"

No compile and link with your programs.

why there is no compile or link necessary?

it has to be *.hex form before loading it up to philips mcu.

correct me if I am wrong.

Only if you are uploading via the serial port. If you are using a JTAG
interface it's a standard executable created by the linker.

Leon
 

Welcome to EDABoard.com

Sponsor

Back
Top