Loading...
  Show Posts
Pages: [1] 2 3 ... 12
1  Using Arduino / Programming Questions / Re: Flashing a sketch from SD card using 2boot bootloader on: May 26, 2013, 11:41:48 am
I think the project has somewhat stalled.  I have tried to message the original contributors with no results.  smiley-sad
2  Development / Other Software Development / Re: Arduino Ethernet bootloader update on: April 23, 2013, 06:46:41 pm
A quick google search would have pulled up what you need or even looking at the arduino site tutorials.

http://arduino.cc/en/Tutorial/ArduinoISP
3  Development / Other Software Development / Re: Arduino Ethernet bootloader update on: April 17, 2013, 04:34:49 pm
You use the ICSP pins.

4  Using Arduino / Programming Questions / Re: Compile Errors on: April 17, 2013, 04:26:07 pm
Ahhhh
That would make sense, thank you.  I decided to drop support for serial which has made life a little easier.
5  Using Arduino / Programming Questions / Compile Errors on: April 16, 2013, 04:59:11 pm
Hi, I am trying to port 2boots to the Arduino Mega (running a 3.3v and 8Mhz)

The following code seems to produce this error message can someone shed some light please?

Code
https://github.com/mrjonny2/embedded

Error
Code:
avr-gcc -g -Wall -Os -funsigned-char -fno-split-wide-types -fno-inline-small-functions -mcall-prologues -ffunction-sections -fdata-sections -ffreestanding -fno-jump-tables -fno-tree-scev-cprop -fno-split-wide-types -mmcu=atmega2560 -DF_CPU=8000000L  -DMMC_CS=PB0 -DMMC_PORT=PORTB -DMMC_DDR=DDRB  -Wl,--section-start=.text=0x1F000 -Wl,--relax -nostartfiles -Wl,-gc-sections board-ArduinoMegaPro.c mmc_fat.c stk500v1.c prog_flash.c -o build/2boots-ArduinoMegaPro-atmega2560-8000000L-PB0.elf
board-ArduinoMegaPro.c: In function 'main':
board-ArduinoMegaPro.c:62:45: warning: function with qualified void return type called [enabled by default]
stk500v1.c: In function 'setup_uart':
stk500v1.c:129:2: error: 'UBRRL' undeclared (first use in this function)
stk500v1.c:129:2: note: each undeclared identifier is reported only once for each function it appears in
stk500v1.c:130:2: error: 'UBRRH' undeclared (first use in this function)
stk500v1.c:131:2: error: 'UCSRA' undeclared (first use in this function)
stk500v1.c:132:2: error: 'UCSRC' undeclared (first use in this function)
stk500v1.c:133:2: error: 'UCSRB' undeclared (first use in this function)
stk500v1.c:133:10: error: 'TXEN' undeclared (first use in this function)
stk500v1.c:133:20: error: 'RXEN' undeclared (first use in this function)
stk500v1.c: In function 'putch':
stk500v1.c:155:11: error: 'UCSRA' undeclared (first use in this function)
stk500v1.c:155:19: error: 'UDRE' undeclared (first use in this function)
stk500v1.c:156:2: error: 'UDR' undeclared (first use in this function)
stk500v1.c: In function 'getch':
stk500v1.c:192:10: error: 'UCSRA' undeclared (first use in this function)
stk500v1.c:192:18: error: 'RXC' undeclared (first use in this function)
stk500v1.c:201:9: error: 'UDR' undeclared (first use in this function)
stk500v1.c: In function 'handle_addr':
stk500v1.c:236:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
stk500v1.c: In function 'getch':
stk500v1.c:203:1: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [2boots-atmega2560-8000000L-PB0-board-ArduinoMegaPro.hex] Error 1
6  Development / Other Hardware Development / Re: Small-run PCB assembly on: April 12, 2013, 05:49:24 pm
I use a company in china for my assembly.  They charge me about $6 per board and a setup cost of about $250.  That includes the manufacture of the PCB as well. 
Good quality boards.  Shipping to the UK normally costs me about £35
The contact email is
info@junhao-cn.com
7  Using Arduino / Programming Questions / Re: Flashing a sketch from SD card using 2boot bootloader on: April 03, 2013, 06:08:53 pm
My goal is to place a sketch on the SD Card and run program that sketch to the chip itself or run the sketch off the chip.  travelvietnam I am using pin 53 as chip select for the SD
8  Using Arduino / Microcontrollers / SD Card boot loader on: April 02, 2013, 06:20:33 pm
I am trying to get an arduino mega to be able to reflash itself from an SD Card with my chosen sketch precompiled for it.  There was previously an effort to do it and they successfully did do it, as long as the chip is a 328.  I am trying to port this over to the Mega 2560 running at 8Mhz.  Can someone help me out please?

What is left of the project is here

http://arduino.cc/forum/index.php/topic,99837.0.html

However the project seems to have stalled.  More frustratingly they had support for the 2560 was on the roadmap.
9  Development / Other Software Development / Reflash Arduino mega directly from SD card on: April 02, 2013, 06:13:20 pm
I am trying to get an arduino mega to be able to reflash itself from an SD Card with my chosen sketch precompiled for it.  There was previously an effort to do it and they successfully did do it, as long as the chip is a 328.  I am trying to port this over to the Mega 2560 running at 8Mhz.  Can someone help me out please?

What is left of the project is here

http://arduino.cc/forum/index.php/topic,99837.0.html

However the project seems to have stalled.  More frustratingly they had support for the 2560 was on the roadmap.
10  Using Arduino / Programming Questions / Re: Flashing a sketch from SD card using 2boot bootloader on: March 27, 2013, 03:43:08 pm
I am using a 2560v running at 8Mhz so the whole board is running at 3.3v so I have no level shifter.  The SD card is connected directly to the SPI lines.

https://www.sparkfun.com/products/10744
My board is one of these with an W5200 Ethernet module attached. (Same way as the W5100)
11  Using Arduino / Programming Questions / Re: Flashing a sketch from SD card using 2boot bootloader on: March 27, 2013, 12:42:37 pm
Hi, I am very interested in this project and I would like to get involved.  In addition make it compatible with the 2560.  Can someone tell me where it currently stands what the latest builds are etc?
12  Using Arduino / Programming Questions / Re: Change password and IP on: March 15, 2013, 12:11:47 pm
Also why do that on the device?
Use DHCP and then config IP etc it on the router.
13  Using Arduino / Programming Questions / Re: Arduino Mega2560 Rev3 on: March 15, 2013, 12:08:00 pm
Move this to programming advice.  Your code needs to be optimised!

From a quick skim of your code you should just have it check to see if it should unlock in a while loop with no delays.  Then only run the relevant code for that.  Seems like there is excess bulk.  Break it down to the bare minimum and it will run quicker.
14  Using Arduino / Motors, Mechanics, and Power / Re: Current limiting and overload protection on: February 20, 2013, 07:11:07 pm
Hi Lefty,
Thanks for the reply. 
The motor will likely be between 12V and 18V with a 3A or 4A current.  It will be a brushed DC Motor.  I am planning on putting everything on a custom PCB so deciding whether I want to integrate everything to reduce costs or us pre made controllers.  I am leaning towards a single integrated module though.  I was thinking of using MOSFETs for control of the motor, a thermistor for temperature, but I am not sure how to check current.
15  Using Arduino / Motors, Mechanics, and Power / Current limiting and overload protection on: February 20, 2013, 10:24:25 am
Hi,
I have been trying to find out how to create a solid state current limiting circuit for an electric motor.  Is there any way to do this reporting the current to the arduino?
Pages: [1] 2 3 ... 12