Hi, I'm new on Mini2440 device. I want to write some codes on it. Only i can test user leds and serial port with compact framework. But i didn't find compact framework samples for watchdog, PWM, I2C, GPIO. If you are help me i'll be happy. Thanks Ergun
Is there any sample for watchdog timer,PWM,I2C,GPIO with C#
It should'nt be a problem to translate the C-Sources from the DVD to another language. You *really* should be able to translate sources from one language to another (which is similar! C/C++/C#, ...) if you wan't to do embedded development.
Hi, I want to connect an I2C sensor to my Mini2440 board. Is possible on the board to use I2C port? Is that available or it's used for read/write the flash memory? Thnx Stranet
Yes, it's possible. There already is an i2c eeprom on the board that can be used to test i2c software. domdom
Hello Stranet, If you can french, I wrote an article on my site : http://www.domodom.fr/spip/spip.php?article23 There is a sample of code that read/write i2c eeprom (Visual Studio project) If you can't, I think that google translator can help you to translate my site. domdom
Hi domdom, thnx for your help... but I use WinCE 5 and I can't find the library you have included in your project. suggestion? Thnx Stranet
I just made few tests with the 5.0 BSP before to upgrade to 6.0. But I remember that some compilation variables are defined in a file called mini2440.bat (in platform/mini2440 directory if my memory is good) In this file, you should find following line : set BSP_NOI2C=1 If you replace with this one (nothing behing =): set BSP_NOI2C= I2C driver should be build when you do a sysgen. And you will find the file i2c.dll (i think it's this file that is missing you...) domdom
about the watchdog, the program watchdog.exe is included in Wince 6. The exe is obscured, but if you use a program like Reflector, you can see these lines of code: TRY ( FileStream stream = new FileStream ( "WDT1", FileMode.Open); stream.WriteByte (1); stream.Close (); ) catch (Exception) ( ) then the device WDT1 is available
hello domdom and Stranet, if I use the I2C driver from wince 5.0 or 6.0, it will only access the flash and it won't cope with a different device like a sensor, right? Is it possible to write some code for I2C without using the wince driver? suggestions? Best regards, Mathias Tantau
Hi Mathias, I2c is a bus, you can add other devices on the bus. BTW, i2c bus is available on GPIO connector, pins 29 & 30. And you can use the driver to talk with other devices than eeprom. The tutorial I wrote on my website (http://www.domodom.fr/spip/spip.php?article23&lang=en) is for eeprom because it's the easiest way, you don't have to solder anything, and if it doesn't work, you can be sure that the problem is a software problem. It's also possible to write your own code, but why ? domdom
Hi, I read the documents and I gotta say: it's really good, but the I need is the example the program. The program can driver I2C and GPIO, with WINCE5 or WINCE6. I have "Visul Studio 2008" and made program in C#. Any person, Can do you help me please?. (In english or spanish). I try do the example the "Domodom", but I can do run. Because I need newer Windows. I need one guide the way me take. Thanks for you help and sorry for my english. Happy Christmas and Happy new year 2011
Hi domdom can you help me for pwm motor control in mini2440 and also i want source code in c# with compact frame work
Hi Babu.R Please download Image and SourceCode from http://www.thaieasyelec.com/Free-Service-from-ThaiEasyElec/ARM9-mini2440...