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