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

ATmega 328p programmer


  • Please log in to reply
6 replies to this topic

#1 Miha Markic

Miha Markic

    Advanced Member

  • Members
  • PipPipPip
  • 74 posts
  • LocationNova Gorica, Slovenia

Posted 15 February 2011 - 07:10 PM

Hi guys,

I am looking for a ATmega 328p programmer. The reason is that my 9dof from Sparkfun has (apparently - what a bummer) a flawed bootloaded and needs to be reflashed.
Thus I am wondering if you have any recommendations (possibly being available in EU).

I guess I'll have to solder SPI pins as well. Just great :blink:

Miha Markic, Microsoft MVP C#
Righthand .net consulting and software development
http://blog.rthand.com/


#2 Luke Cummings

Luke Cummings

    Advanced Member

  • Members
  • PipPipPip
  • 38 posts
  • LocationCalgary, AB

Posted 15 February 2011 - 10:03 PM

Hi guys,

I am looking for a ATmega 328p programmer. The reason is that my 9dof from Sparkfun has (apparently - what a bummer) a flawed bootloaded and needs to be reflashed.
Thus I am wondering if you have any recommendations (possibly being available in EU).

I guess I'll have to solder SPI pins as well. Just great :blink:


If you already have a spare arduino you can reflash the arduino bootloader like this:
http://arduino.cc/en...rial/ArduinoISP
Cheap, Fast, Good... Pick two

#3 Miha Markic

Miha Markic

    Advanced Member

  • Members
  • PipPipPip
  • 74 posts
  • LocationNova Gorica, Slovenia

Posted 16 February 2011 - 07:17 AM

If you already have a spare arduino you can reflash the arduino bootloader like this:
http://arduino.cc/en...rial/ArduinoISP


Funny, I was actually thinking the same (found it after my post). I have an Arduino BT which should do the job.
Perhaps one additional question. 9dof has an ISP/SPI connector (shown in attached picture) which isn't well marked - I assume the white line means pin 1, correct?

Attached Files

  • Attached File  isp.png   11.36KB   10 downloads

Miha Markic, Microsoft MVP C#
Righthand .net consulting and software development
http://blog.rthand.com/


#4 pater

pater

    Member

  • Members
  • PipPip
  • 11 posts
  • LocationWarsaw

Posted 17 June 2011 - 09:32 AM

Hello All, Is it possible to use netduino as ATmega 328p programmer with shield from project http://drug123.org.ua/mega-isp-shield/ _ Thanks for replay, Pater

#5 georgejh

georgejh

    Advanced Member

  • Members
  • PipPipPip
  • 87 posts
  • LocationGlasgow, UK

Posted 18 June 2011 - 09:21 PM

If you already have a spare arduino you can reflash the arduino bootloader like this:
http://arduino.cc/en...rial/ArduinoISP


It will be interesting to see N+ in the same role (AVR ISP). Is anybody done that?

#6 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1592 posts
  • LocationCzech Republic

Posted 20 June 2011 - 07:54 AM

It will be interesting to see N+ in the same role (AVR ISP). Is anybody done that?

Well, I have such project under development - it is basically STK500/AVRISP-compatible programmer that enables Netduino to be used from AVR Studio (*). However, there is slight issue with SPI in .NET MF that needs to be fixed in the firmware: the current implementation toggles Chip Select line at the end of WriteRead() method call, but AVRs require CS to be held active for several consecutive writes. If there is enough interest, I could boost the project's priority - the fix should not be hard, e.g. exposing a property for the Netduino microcontroller's Chip Select Active After Transfer feature should do it.

(*) The programmer (Netduino) here is UART - SPI bridge between AVR Studio and the AVR microcontroller, the ISP code can be easily written separately, as it is just a few SPI transfers.

#7 candelbc

candelbc

    New Member

  • Members
  • Pip
  • 2 posts

Posted 20 June 2011 - 09:40 PM

Well, I have such project under development - it is basically STK500/AVRISP-compatible programmer that enables Netduino to be used from AVR Studio (*). However, there is slight issue with SPI in .NET MF that needs to be fixed in the firmware: the current implementation toggles Chip Select line at the end of WriteRead() method call, but AVRs require CS to be held active for several consecutive writes. If there is enough interest, I could boost the project's priority - the fix should not be hard, e.g. exposing a property for the Netduino microcontroller's Chip Select Active After Transfer feature should do it.

(*) The programmer (Netduino) here is UART - SPI bridge between AVR Studio and the AVR microcontroller, the ISP code can be easily written separately, as it is just a few SPI transfers.


Count me as interested! Was just looking at getting the ISP sold by Atmel!




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.