Mf-Introduction to Explorer 1

Source: Internet
Author: User

Mf let us C #ProgramMembers can reach the embedded industry, greatly enhancing our competitiveness in various projects. However, there are few people studying MF in China. In order to accelerate the research on MF technology, our team commissioned the manufacturers to produce a batch of MF development boards using a small amount of subsidies, sold to developers in the team.

This batch of boards only produce 20 pieces, the component cost is 133.5 yuan, the PCB cost is 12 yuan, the welding cost is 25 yuan, a total of 170.5 yuan. With a serial cable, USB cable, dubang line, there are some small things, the overall needs more than 180, internal sales at 180 yuan price. The purchase price of the 3.2-inch touch screen is 58 for each piece. Because of the wrong interface selected, it took another 1.5 yuan for cabling and sold at a price of 50 internally. Because the number is too small, there is no bargaining space at all, otherwise it is estimated that there will be less than 30%.

I didn't expect everyone's enthusiasm to go far beyond the reservation registration, but it was basically just one afternoon.

 

Explorer 1's processor (MCU) is stm32f103zet6, 72 MHz, 512 K flash, and 64 k ram. The basic function of running. Net micro framework (MF) is completely correct. The Board also expanded 512 k sram, 8 m norflash, and 512 M nandflash.

 

  1. The issued boards are all flushed with MF firmware newlife_tracker1, and a user program with a small flashlight and four-digit digital card counting is written.
  2. After getting the board, first find out the serial cable and USB cable to connect, other dubang lines and LCD lines do not connect (to take a picture of the good-looking place ).
  3. For example, the serial port is connected to the serial port COM1 on the right, and the other end of the debug information output port is connected to the computer. The USB to serial port driver can be found in group sharing. It seems that win7 will automatically install
  4. Run the serial port software on the PC. I use securecrt to connect the serial port corresponding to the serial line in the previous step. You can find it in computer device management.
  5. Connect the USB cable to the USB port on the other end and connect the USB port on the PC (Two USB ports are used together with the USB-to-serial port on the Front). At this time, the USB cable is used to power the Development Board (5 V ).
  6. At this point, the Development Board starts. You can see the startup information in the serial port software. The following figure shows the startup information of Explorer 1, which was compiled on April 9, August 3, and the startup information of Red Bull board on April 9, April 3)
  7. If you can see the startup information, congratulations, mf is started successfully. If not, check the wiring and do not perform subsequent operations.
  8. The following is a test of the LED and digital tubes. first look at the wiring diagram.
  9. The length of the LEDs is positive. The LEDs are connected to the Gnd (short) and pb11 (long) in the lower left corner with two dual cables. Then, you only need to output a high level of pb11 (set to true in the Program), and the LED will be on.
  10. Connect pb10, pe14 ,... Pa7 has a total of 12 pins, and four digital tubes are connected at the other end. The digital tubes face you in a counterclockwise order. The dots are at the bottom, and the ones in the lower left corner of the digital tube are 1 and those in the upper left corner are 12. Of course, you can also tear down the dubang line as you like.
  11. The following figure shows the direction of the dubang line. The program is not running, so the digital display is incorrect. The display screen is to take pictures and put them there.
  12. Click the black button in the lower-right corner of the Development Board (usually the one with a serial port is above), reset the reset button, or unplug the USB cable and re-plug the button to restart MF. Then we can see that the light emitting diode is flashing fast, and the four digital tubes are accumulating numbers.
  13. LCD display cable: Because of procurement errors, the purchased display is connected to a pin (it should have been a seat), and the Development Board is also a pin, so another line connecting the two sides. Note: The Development Board and LCD screen are both 32-pin (16*2) and 34-port cables, so be sure to align the cables (the 32-pin pairs correspond to each other one by one, so do not misfit the cables, otherwise, the LCD screen may be burned out)
  14. The firmware released with the Board does not have a display driver, so even if it is connected to the display screen, only a white one can be seen. After the firmware is updated, the following information will be displayed at startup (there will be a specialArticleDescribes how to fl firmware)
  15. All lines have been connected. An unknown USB device should be found on the system and the usb_drivers driver must be installed.
  16. Start to install MF 4.2 RTM (qfe2), http://netmf.codeplex.com/releases/view/91594. Mf4.2 can only be used with vs2010, as if vs2008 is also supported.
  17. After mfinstallation is complete, a mfdeploy.exe file is recorded in the toolsdirectory, which is the MF release tool. After running the tool, select USB. You can see newlife_tracker1. Click ping on the right. If you see pinging... Tinyclr, indicating that the USB cable is normal. If you cannot see the driver, it may be that the driver has not been installed.

 

Programmer's hand for thirteen years

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.