Hello every one, I am new to mini2440 board and do not have any experience in this field. I am working on NO OS application. Can anyone plz tell me how to display a text or image on the mini2440 LCD(3.5") TFT screen. In the 2440 NO OS test programs are provided,here i am interfacing OV9650 camera, when i turned on a bitmap image is displayed on screen. but no idea how to display any text or image. how to know the back end process and how to understand the LCD code and camera code. i want to store the image into SD card this is basic idea about my project. please help me how to start the this project...
New Learners to mini2440 and How to start new project in NO OS
Hi shankar, I think you have to deal with the contents of 2440test source code,, I have been working on displaying text on VGA1024x768 from the board and get success. the 2440test source and header files already prepared it functions for us, we need to pick and reuse the function and header to our new project.
hi nanda, yes i have deal with the content of 2440 test source code, in my board along with colour LCD(3.5")TFT display and it is working fine,but if i connect another TFT display it is not working,so here i have to write driver program our own display but i don't know how to start new driver programing , my task is instead of color lcd i want to use black n white TFT display i.e PD035VX2-8.0(640x480). and please tell me how to start driver program for PD035VX2-8.0
I have done some coding without OS, using mini2440 LCD(3.5") TFT screen, but coded in ASM (FasmArm) If your interested in coding using FasmaRM let me know. Screenshot: http://www.dex-os.com/ARM/Dex2Arm1.jpg
hi dex, i don't have sufficient knowledge in ASM code but i understand, my knowledge used only Embedded c programs and i want know how to start a new project please help me..
Hi shankar, As a C coder, you can take a look at the no-os test demos. Theres enough info to get you started.
Hi Dex, my first program started in c code, i.e LED blinking program then its compiled and run it, and i am successful load the bin file into NOR flash memory using debugger and it is working fine according input buttons but when i turn off target board this program was lost but i want store this file into NAND flash but how? please tell me the process of how to load bin file permanently i am using ADS 1.2 tool and H-JTAG debugger my mail id firstname.lastname@example.org Thanking you
If you ask me my honest opinion, i would suggest that you drop the ADS route. When i first started on the mini2440 i too tried compiling programs using ADS and even Keil. But what u found out was, that if i wanted to do a little complex application like say using the USB to communicate with the computer or if i wanted to read the keypad buttons, things started to blur and go over my head. First, about your query to load your ADS LED program into NAND. You cannot without using a bootloader. The reason being your LED program is a set of instructions to simply blink LEDs. The mini2440 needs a lot more code for housekeeping, startup and access to devices to even start to turn on/off the LEDs. So you need to install a bootloader like buzybox or u-boot that would first boot the mini2440 and then load your program from wherever it is (another address in RAM?) and start executing it. I have done this! and it is a big hassle if you want to keep changing your program to test it - which is a requirement if your application starts needing a GUI an becomes a lot more complex.. I realized that trying to learn the mini2440 like it was an arduino would get me nowhere. If you (like me) want to start compiling C programs for the mini2440 to run without hassle, i would suggest the pengutronix BSP. It is awesome! You can code comfortably in C, Java, python - anything that runs on linux! The reason being, your code runs on top of the linux kernel. There is no operating system as such - just the linux kernel which helps you deal with the mini2440's hardware. I have managed to write a QT GUI application that controls some of the hardware of the mini2440: like the leds, buzzer etc. Also i have managed to link the SDL library to my project and that gives me a very powerful graphics API to play with. check out my blog: http://wingston.wordpress.com and see the "mini2440 & ptxdist" menu option for a bunch of tutorials on the same. cheers, hope this helped you a bit
Hi shankar, I agree with Wingz, theres a lot of setting up too do. The arm chips do not have a BIOS like x86 and the work of the BIOS need to done by the bootloader or other such program. But the first loading part, needs to less than 4k (not easy). When your testing small demos like yours, its best to stick to what your doing. Or you could use something like StartOS and load from SD card. I use 100% ASM, so do things different. You could use the linux kernel as Wingz pointed out, but them its not NO-OS. You could mod the no-os test programs including the needed setup code, so you can add your demo.. But my advice would be leave it for now, wait until your code is much bigger before making it boot. DexArm.
Hi Wingz, Thanks for your reply,Is boot loader means BIOS code for ARM chip is it right? and please tell me Where can i get Bootloader for EM-2440 board(which has S3C2440A ARM chip), how can i install this bootloader into ARM Chip? Is it possible NO OS Application testing programs please could help me. yours suggestion was very good for changing to Linux, but i don't know in Linux environment i came this field as fresher a few days back.
i woudn't be too concerned about that.. check my tutorials i have a bootloader setup on overhere: http://wingston.wordpress.com/2011/11/19/baby-steps-with-the-mini2440-bo... get ubuntu, install it on dual boot and work in it. you'll be amazed at the difference. nd its not very hard to work on, in a couple of weeks you'll be a pro at ubuntu!! :D
Hi all. I am a novice embedded developer, and into deep trouble. I need help in displaying JPEG image without os in tiny 2440, 3.5". Actually i am using a serial camera module which gives either raw 16 output or jpeg. it doesent dive bmp. please help.
hello there, i want to connect an led to mini2440 GPIO pin and blink it...' i don't know how to write a code for it....because i am new in linux based systems(worked on PIC,AVR,51 family)..... can anyone help me for this to simple programming code to start me... thank you
When GPIO is enabled in the kernel you can blink LEDs from a userspace program quite easily. http://m.blog.csdn.net/blog/peng654321/20132241 The link to the original article appears broken. First, you are probably going to have to set up access to GPIO in your kernel config and re-compile. Unless it is already enabled. Have you cross-compiled a kernel yet? To give you some good background material read the Quickstart.pdf on this page: http://www.pengutronix.com/oselas/bsp/pengutronix/mini2440_bsp_en.html it describes blinking LEDs from userspace. When you have done it that way, buy yourself a Teensy 2.0 board AVR ATmega32U4)and program it to do all peripheral stuff via USB commands!
HI there i was working on a project with mini2440 i need remove previous in built program .can anyone tell me the command to remove inbuilt program ?