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

Netduino 2 Firmware v4.2.2 (update 2)


  • Please log in to reply
28 replies to this topic

#21 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 04 April 2014 - 02:25 AM

Hi mbrossett,

Can you provide all the files needed to load a custom board with Netduino firmware / bootloader. When I load this DFU in the STM32F405 and reset the board, I cannot access the device through MFDeploy. Is there another file I need to load?...tinybooter, tinyclr, or something?

If you create a custom board, you may need to recompile the firmware (tweaking to match your board's crystal frequency, etc.) Check out CW2's Netduino 2 Firmware v4.3.1 with GCC support thread for tips on how to get started.

Once you build the firmware, you'll end up with TinyBooter, TinyCLR (ER_FLASH) and a configuration sector. You can use STDFU tools (or a C++ IDE like Keil) to load those onto your custom board.

Chris

#22 mbrossett

mbrossett

    Advanced Member

  • Members
  • PipPipPip
  • 46 posts

Posted 06 April 2014 - 01:16 PM

Thanks Chris. So if I use the same crystal frequency on the Netduino board I shouldn't need to recompile anything, right? I was able to successfully use the STDFU to program my hardware. And when it powers up I know it is doing something as the LED will turn off after a few seconds. However, windows will not recognize the MCU when I plug it in unless it is in the bootloader. Can you provide the Tinybooter and Tinyclr files for the Netduino? Thanks again for your help!



#23 mbrossett

mbrossett

    Advanced Member

  • Members
  • PipPipPip
  • 46 posts

Posted 06 April 2014 - 03:47 PM

I found all three of the files (tinybooter, flash, and config) in the NetduinoUpdater zip folder.



#24 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 09 April 2014 - 05:54 AM

I found all three of the files (tinybooter, flash, and config) in the NetduinoUpdater zip folder.

:) Glad you found those; in addition to the full source for Netduino firmware, we include the full Motorola HEX files so that you can reflash using custom tools, etc.

Are you up and running on your custom board now?

Chris

#25 mbrossett

mbrossett

    Advanced Member

  • Members
  • PipPipPip
  • 46 posts

Posted 09 April 2014 - 04:35 PM

Yes, I have the custom board working! Thanks for your help! And if you are curious about my issue...

 

The processor wasn't recognizing the attachment of the USB cable after the firmware was loaded. I measured the VBUS signal to the processor and realized it wasn't getting pulled up high enough due to the 100 Ohm series resistor I used. Removed the resistor and problem solved. Looking at the datasheet for the STM32F405 shows the internal resistor divider on the VBUS signal is fairly strong and explains the problem.



#26 stormdesign

stormdesign

    New Member

  • Members
  • Pip
  • 1 posts

Posted 18 April 2014 - 01:33 AM

Hi Chris Walker,

 

Where can I find the source code of this version?

In download page, It's version 4.2.2.1.

 

Regards.



#27 Wayne Brush

Wayne Brush

    New Member

  • Members
  • Pip
  • 7 posts

Posted 04 June 2014 - 04:36 PM

I am having trouble connecting to the Netduino 2 boards. I have tried MFDeploy and STDFU Tester. with STDFU Tester, I have tried with and without pressing the button. It doesn't show any options in the Devices pull-down.

 

Is there something else I need to do?



#28 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 06 June 2014 - 04:09 AM

Hi Wayne,

When you press the pushbutton while powering up your Netduino via USB, what shows up in Device Manager?

Chris

#29 Wayne Brush

Wayne Brush

    New Member

  • Members
  • Pip
  • 7 posts

Posted 06 June 2014 - 12:38 PM

I got it to work. The USB driver that comes with the STDFU program, apparently, doesn't work with Windows 64 bit. I found a reference to a new USB driver in one of the other forums and got it to work (as well as ran on a 32 bit machine for awhile).

It might be good to add an area on the download page for the various tools and their associated drivers. That would have helped solve my issue much faster.






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.