Could you tell me step by step what I have to do and what I need for programming the Mini2440 without any OS? What source code (header), tools, etc. do I need and which steps where necessary to run my own code? Is there any kind of introduction or tutorial for that?
Getting started with OS'less programming
There several examples under Downloads: 2440test, uCos2 and in the Chinese manual is also a section: ADS, 2440test and uCos2... http://www.friendlyarm.net/mini2440/mini2440_manual_20100204.pdf http://www.friendlyarm.net/forum/topic/56 http://www.thaieasyelec.com/Free-Service-from-ThaiEasyElec/ARM9-mini2440... If you are not familiar with embedded programming, try google "arm9 programming", "arm9 toolchain" etc.
Well, unfortunately just the 2440test files may be helpfull to me, although I know it already. All the other documents where rather helpfull for becoming familiar with using Linux and WinCE on the Mini2440 but not with programming the hardware directly. Are there any other sources known?
Hi B.P. Please let me know if you are able to perform OS-less application development. I am absolutely clueless !!! I am required to create some GUI OS-less application for mini2440
Hi, the mini2440 look's good but getting it running seems the other way round... I try to compile with KEIL uView4 and ULINK but I'm getting a JTAG error...On Cinese Web I found a tutorial on how to do this I also ad a simple test LED which now compiles. But I have no idea how to JTAG the board I made a reduction from 20pin JTAG to 10pin(2mm)JTAG ... When I boot from KEIL the display flashes briefly but I get JTAC error... Any way I share the tutorial (translated with google) and the led example. Maybe it helps to pave the road... :-)
Hi, I did the OS less programming and my development environment is arm-linux-gcc. Iam able to interface the TFT LCD and UART with the S3C2440. Iam trying to put these small programs on Google code. My main intention is developing a portable GUI. If anybody knows how to maintain a Git source pls let me know. Regards, Ram
I have developped an aplication with Keil 4 everything seems ok except depolying my application some are talking about 4K booting section but have not got exact informition about it.
I was trying to download the LED example but it is not working..Did anyone had success in running the above example? Did anyone had success in using keil? Thanks.
Can anyone please provide a working example of KEIL? I am not able to make the above LED example work.. Thanks
Hello, I was able to make the above LED example work. However, when I reset the board it does not automatically load and start running. Which bootload should we use? Thanks.
I'm using RVDS2.2 v.616 (can be found in torrents). Its much better than its predecessor ADS1.2 from FriendlyArm DVD. Example projects are almost perfectly compatible with RVDS2.2, all you need to do is adjust user include paths. In examples there are absolute paths, which is lame. Use "relative to project" paths instead. Another thing to pay attention is 8 bytes alignment. Linker will display an error, just google for solution, its easy :)
Hi people!! I've been playing with 2410...sorry, it's not a FriendlyARM :$... But from now I will take it seriously. I was using GCC 2.95.3 but now I will have to use newer version (just downloaded) because of Speex optimization. Ah, I'm using OS'less!! My "kickstart" was Vivi (believe me!!). I changed all source, mapped the memory to the bottom (runs from 0x30000000), wrote some library and now it is named Basia. I've developed the following drivers: 1. LCD (I'm using 800x480) with double buffer 2. touchscreen with interrupt 3. SPI...I spent about 2 months trying to make 4 bit bus for SD card, couldnt make it, dont know why :( 4. Audio out with DMA (I'm running Speex codec) 5. Serial port (havent done much, need to revise the code) 6. a DMA library for audio and fast memory copy To make my life easier, I wrote a "downloader" using xmodem who talks to Vivi. So I dont need to use hyperterminal. I need to revise the whole code, separate libraries properly, etc...it's a mess!!! Let me know how can I help you guys, although I need help too ... I wanted to make 4bit bus for SD work, if anybody made it for 2410 (I have 2440 with WinCE, it works fine!) Regards, Kerob.
hi Brox! No, I dont mind... For now I'm cleaning up the code, using GCC 4.1.1 for Cygwin, so I would need some more time before share it... Do you have any recommendation for public repository? Cheers! Kerob.
I like Mercurial (aka hg), and http://bitbucket.org does it for free. You can manage access to your repository. Another option is http://code.google.com - for open source projects only
Hi, Is it possible to start OS less programming on Friendly Arm tiny6410,if so then from where should I start I have to interface CIS(contact image sensor with it)develop an 2D barcode reader on it.can any body tell me where should I start... any suggestions
@matt_Damon hi. can u plz tell me how did u make the keil LED example work? can u plz send me the complete working keil example. i have been trying like hell but with no success. any1 plz help me with keil regards naqsh
You can look at code.google.com/p/startos - there is an Example for LEDs in Keil. LEDs.bin file has size 724 bytes and you can have it on SD card. If you name it with START.bin it'll be launched in 5 seconds after Power on.
@anatolly thanx buddy. i have managed to get that program working along with some editions like LCD & Uart by loading them into RAM. but as yet i have not been able to do so by loading it on Nand. i initialized d port pins n nand flash but m unable to get it working. i wud really appriciate it if u can guide me a little bit for nand initialization regards naqsh naqsh.salim@gmail.com
Naqsh, for nand initialization you can look at uCOS and test2440 sources, also the startup.s file in Keil for Samsung S3C2440A must do this work. Or you can learn Bootloader codes. But it's not easy. That's why I advice startos. If your program works in RAM, you can write it on SD and lunch under startos. Once I'd done this duty work I prefer to have deal with SDs. And NAND flash has limited number of write cycles. (Not little number but if we are debugging programs and every time write them in NAND...) Regards, anatoliy
FFT no OS works fine... http://youtu.be/HemL3kkgkVk
andrés, very nice frequency display, how do you talk to the WM9174 audio chip did you write the interface?
I make via ADC , and I wrote the driver interface, http://litium-andres-lu6fkh.blogspot.com/p/sansung-s3c2440-arm9.html here you can see something from it.
I have been playing with FFTs too. I notice you are using double precision, it is perfect but very expensive. if you change to all float it will run faster. But with float the inverse transform does not sound perfect for DSP. For spectrum display only (no DSP) you can use 1024 point integer fft (IFFT) at 48kHz and it will take up very little CPU. Anyway nice OS'less work! (sorry for off topic)
Fraser . you're right, with single floating is more rapid, it also improves performace. thanks for the considerations, I wanted to leave here in the forum, may be useful for someone
Hi all, I had been working on mini2440 for few months making gui applications on Qt. But now i want to program the board on NOR Flash and burn program in Memory of mini2440. My motive is to program the UARTS and Ethernet of the board i have to take data from the UARTs and pump them on to ethernet. So for that i need to know register settings pin configuration. On which IDE i have to write the code so that it could be burnt on board. I am seriously looking to program this way because using Qt application is generating a lot of overheads. Thanks in Advance, Abhishek
IF you need to see how to integrate wifi in OSless on Friendly ARM. http://www.whiznets.com/index.php/arm9-wifi-development-starter-kit-whiz...
Hi All, I write a blog that may help to you who want learn os'less programming on mini2440 board http://blog.csdn.net/asicer/article/details/8562672 you can burn it into nand, so it can boot up as non-os program and you'll find led light on. modify and try as you want.