Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

.Net MF 4.3 Firmware for Netduino Plus 2 with CAN/SDIO/RTC/CRC/RND [Uploaded] [12-06-2013]


  • Please log in to reply
10 replies to this topic

#1 weixiongmei

weixiongmei

    Advanced Member

  • Members
  • PipPipPip
  • 68 posts
  • LocationPhiladelphia, Pennsylvania, United States

Posted 06 December 2013 - 01:17 AM

This is a test purpose's firmware for Netduino Plus 2,it provides some drivers that official didn't provided.Such as compared as below:

 

Features for firmware:

1.CAN driver supports up to 1Mbps,master/slave modes are supported

2.SDIO for SDHC cards,but can't use with Netduino Plus 2,because Netduino Plus 2 is using SPI for SD card.

3.On chip RTC,this feature is not fully supported with Netduino Plus 2,because Netduino Plus 2 doesn't has a external crystal for RTC,but you can use LSI to insteads,but the RTC will stop counting after reseted or re-powered on when using LSI or HSE as the source for RTC.

4.On chip hardware CRC calculator to save more performance on CRC calculations.

5.On chip hardware RND(Random Number Generator),can generates a random number by the hardware.

6.Using Systick for the system

 

Features for MFDeploy tool:

1.Alternative configurations for hardware and firmware.

2.Deployment speed is 8x times faster than official MFDeploy tool.You can feel it like light speed.(This feature is not compatible with any other firmwares)

 

Warning:

1.Because of test purpose,you must entered a Hardware Serial Key by using the MFDeploy_WPF.exe, so please post your Hardware Serial Number(Shows in the Configurations Window in MFDeploy_WPF tool)  in this thread,so i can calculate a Hardware Serial Key for you. If the Hardware Serial Key is not entered,the firmware will always running in Tinybooter mode(If it still running in Tinybooter mode after you have entered the correct Serial Hardware Key,please go to the menu

Plug-in -> Debug -> Clear Bootloader Flag in MFDeploy_WPF).

2.If you would like to use the hardware such as SPI,I2C,ADC,DAC,PWM,CAN,SDIO,UART/USART, you must config the pins in the MFDeploy_WPF's Configurations Window,otherwise the interface will not works as expected(A default configurations file is inclued in the attached file,so no manual configuration is needed).

 

Directions for flashing the firmware into the Netduino Plus 2:

1.Use the DFU tool to flash the attached *.dfu file into the Netduino Plus 2

2.Leave DFU mode and reset the board

3.Use the MFDeploy_WPF.exe to flash the attached *.tc files into the Netduino Plus 2

4.Use the MFDeploy_WPF.exe to flash the attached *.xml file into the Netduino Plus 2

 

Requirements:

1. .Net Framework 4.5 installed

 

Warning:

1.If you would like to get the power from the pin 3V3 or 5V on the Netduino plus 2,you must pull high the PB2(You can use the C# code like

new OuputPort(STM32Provider.Pins.PB2,true);

),otherwise these two pins are powered off.

2.If your C# code is base on the official Netduino Plus 2 firmware,when you switching to my firmware,you have to do a little bit changes when using Serial Ports,see the chart below:

 

Official Firmware USART:COM1,COM2,COM3,COM4

My Firmware USART:COM6,COM2,COM4,COM1

 

My Firmware SPI:SPI2

 

My Firmware CAN:CAN1(RX pin:D5 TX pin:D6),CAN2(RX pin:D4 TX pin:D13)

 

For example,if you're using COM1 in official firmware,then you have to change the C# code to COM6,or if you're using COM4 in official firmware,then you have to change the C# code to COM1 when switching to my firmware.

 

If you have any questions or feedbacks,please post them in this thread or contact my email:weixiongmei@live.com

Attached Files



#2 weixiongmei

weixiongmei

    Advanced Member

  • Members
  • PipPipPip
  • 68 posts
  • LocationPhiladelphia, Pennsylvania, United States

Posted 06 December 2013 - 07:40 AM

Resered for change logs



#3 Kip

Kip

    Member

  • Members
  • PipPip
  • 22 posts
  • LocationItaly

Posted 06 December 2013 - 09:18 PM

Really impressive! Is source code available?



#4 weixiongmei

weixiongmei

    Advanced Member

  • Members
  • PipPipPip
  • 68 posts
  • LocationPhiladelphia, Pennsylvania, United States

Posted 06 December 2013 - 09:26 PM

Hi,Kip.

The source code is not abailable at this moment.



#5 Kip

Kip

    Member

  • Members
  • PipPip
  • 22 posts
  • LocationItaly

Posted 09 December 2013 - 08:56 AM

Ok ;) I'm downloading the firmware, I'll test it in my lunch break :D



#6 weixiongmei

weixiongmei

    Advanced Member

  • Members
  • PipPipPip
  • 68 posts
  • LocationPhiladelphia, Pennsylvania, United States

Posted 09 December 2013 - 10:05 AM

Hi,Kip.

Please remember,you can't get into the TinyCLR until you have entered the correct Hardware Serial Key by using the MFDeploy_WPF tool(It means you can't use C# for programing in this situation),so please post your Hardware Serial Number in this thread or send it to my email,so i can calculate a KEY for you,it does not charges anything.Thanks for interesting of my firmware.



#7 zeroaviation

zeroaviation

    Member

  • Members
  • PipPip
  • 28 posts

Posted 09 December 2013 - 04:57 PM

Hi,Kip.

The source code is not abailable at this moment.

 

Do you plan to release it? (At least the CAN part)

 

-Matt



#8 weixiongmei

weixiongmei

    Advanced Member

  • Members
  • PipPipPip
  • 68 posts
  • LocationPhiladelphia, Pennsylvania, United States

Posted 09 December 2013 - 09:51 PM

Hi,zeroaviation.

Yes,i planned to completely open source after i have got my production cost back.



#9 zeroaviation

zeroaviation

    Member

  • Members
  • PipPip
  • 28 posts

Posted 20 December 2013 - 09:40 PM

Hi,zeroaviation.

Yes,i planned to completely open source after i have got my production cost back.

 

Is there a donate button somewhere? :D I'm eager to see how you did it. I'm studying the ARM architecture, this would help me a ton.



#10 weixiongmei

weixiongmei

    Advanced Member

  • Members
  • PipPipPip
  • 68 posts
  • LocationPhiladelphia, Pennsylvania, United States

Posted 22 December 2013 - 04:30 PM

hi,zeroaviation

there is no donation button,im producing a small amount of development boards for fully support the .Net Micro Framework,after there are 50 sets of boards has been sold out,i will fully open source the code for the users,it will including such as CAN bus,I2S *.wav audio player and audio recorder. and many other things,i'm also working or STM32F429 now,and almost done for all the drivers.At this point,you can use my firmware on Netduino Plus 2 to have a look.Thankyou



#11 eizner23

eizner23

    Member

  • Members
  • PipPip
  • 15 posts

Posted 29 December 2013 - 03:30 PM

i am eager to look at the source and perhaps utilize the wav audio player :)

very nice!






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.