Recent Posts

Pages: 1 ... 5 6 7 8 9 10
61
Software / Re: Webbotlib Studio FBoot only works the first time!
« Last post by Webbot on October 04, 2014, 07:23:44 AM »
WebbotLib Studio doesn't allow you trace the individual bytes but does at least give some logging in the output tab.
Looking at you files then the Failed attempt it looks like the AxonII is not running the bootloader - hence the bytes that WebbotLib Studio gets back are what your program is outputing the to UART/USB such as initalising messages.

I'm wondering if the bootloader is somehow overwriting or disabling itself.
Using your hardware programmer - how are the fuses set on the Axon II?
Mine are as follows:-

BODLEVEL = 4V3
OCDEN = [ ]
JTAGEN = [ ]
SPIEN = [X]
WDTON = [ ]
EESAVE = [X]
BOOTSZ = 512W_7E00
BOOTRST = [X]
CKDIV8 = [ ]
CKOUT = [ ]
SUT_CKSEL = EXTXOSC_8MHZ_XX_16KCK_65MS

EXTENDED = 0xFC (valid)
HIGH = 0xD6 (valid)
LOW = 0xFF (valid)

62
Software / Re: Webbotlib Studio FBoot only works the first time!
« Last post by Hero I on October 03, 2014, 08:37:01 PM »
I downloaded and used a USB monitoring program called "Device Monitoring Studio" by "HDD Software" to capture the packet communication between Webbotlib Studio's FBoot and my Axon II.

Attached are two text files of the results of a successful FBoot (first attempt) and the failed FBoot (second attempt).

I hope this helps in determining the problem.

P.S. Does Webbotlib Studio have a debug environment variable I can set that would allow for the debugging of the FBoot transmissions?
63
Misc / robotics book project/hiring?
« Last post by rickey1990 on October 03, 2014, 05:59:25 PM »
64
Software / Re: Webbotlib Studio FBoot only works the first time!
« Last post by Hero I on October 02, 2014, 08:18:24 PM »
Shouldn't do - after all it is the FBoot boot loader that works on the CPU to receive and re-burn the flash. If anything is overwriting the boot loader then it can only be the boot loader itself that is allowing/doing it. Webbotlib Studio cannot 'write' anything directly - it can only talk to the boot loader. Suggest that either the bootloader is at fault or perhaps the fuse settings that protect the boot loader.

More info re board, processor, hex flash size, fuse settings, fboot version etc may help. But it ain't Webbotlib Studio !!

I hooked up my avr dragon device programmer and checked the fuses. They are set correctly as specified in SoRs Q&A section on fuses.

One thing I did notice is that when it works the first time, there is a "[INFO] AVRISP MKII (avrdude):..." message that is output to the Webbotlib Studio "Output" window.

However, that message does not get output during the second attempt that fails.

What I don't understand is even though I set "Programmer:" to "Fboot", why does the "[INFO] AVRISP MKII (avrdude):..." message get output? I'm not using an AVRISP MKII.

First attempt (success)....

[INFO] Flash: Start
[INFO] Flash: Regenerate project with earlier settings
[INFO] Flash: Regenerate the makefile
[INFO] Flash: Clean and compile sources
[INFO] Flash: End
[INFO] Flash: Project has been regenerated and compiled ok
[INFO] Flash: Upload file is called:walle_robot.hex
[INFO] AVRISP MKII (avrdude): com.webbotlib.studio.programmers.avrdude.AvrIspMk2AvrDudeFlasher add mapping for processor:ATmega640=>m640
[INFO] FBoot: Parsing file walle_robot.hex
[INFO] FBoot: File contains memory segments:
[INFO] FBoot: 00000-024BD
[INFO] FBoot: connected to COM4
[INFO] FBoot: Start Flashing via COM4 at 115200 baud
[INFO] FBoot: Switch on your board
[INFO] FBoot: Trying to connect...
[INFO] FBoot: ...Connected
[INFO] FBoot: Check CRC support
[INFO] FBoot: Bootloader V2.1
[INFO] FBoot: Signature: 1E9608
[INFO] FBoot: Buffer Size: 7168 bytes
[INFO] FBoot: Maximum Flash Size available: 64512 bytes
[INFO] FBoot: Check CRC support
[INFO] FBoot: Checksum is OK
[INFO] FBoot: Start Programming
[INFO] FBoot: End of block:7168
[INFO] FBoot: Block programmed ok
[INFO] FBoot: All data processed
[INFO] FBoot: Start Verifying
[INFO] FBoot: All data processed
[INFO] FBoot: Check CRC support
[INFO] FBoot: Checksum is OK
[INFO] FBoot: End Flashing - OK
[INFO] FBoot: disconnected from COM4

Second attempt (fail)...

[INFO] Flash: Start
[INFO] Flash: Regenerate project with earlier settings
[INFO] Flash: Regenerate the makefile
[INFO] Flash: Clean and compile sources
[INFO] Flash: End
[INFO] Flash: Project has been regenerated and compiled ok
[INFO] Flash: Upload file is called:walle_robot.hex
[INFO] FBoot: Parsing file walle_robot.hex
[INFO] FBoot: File contains memory segments:
[INFO] FBoot: 00000-024BD
[INFO] FBoot: connected to COM4
[INFO] FBoot: Start Flashing via COM4 at 115200 baud
[INFO] FBoot: Switch on your board
[INFO] FBoot: Trying to connect...
[INFO] FBoot: Timed out
[ERROR] FBoot: Error during connect: Timed out
[WARN] FBoot: End Flashing - FAILED
[INFO] FBoot: disconnected from COM4

65
Electronics / Re: Identifying Maxon A-max DC motor
« Last post by sdk32285 on October 02, 2014, 08:06:02 PM »
Have you tried calling Maxon?
66
Software / Re: Webbotlib Studio FBoot only works the first time!
« Last post by Webbot on October 02, 2014, 02:06:39 PM »
Shouldn't do - after all it is the FBoot boot loader that works on the CPU to receive and re-burn the flash. If anything is overwriting the boot loader then it can only be the boot loader itself that is allowing/doing it. Webbotlib Studio cannot 'write' anything directly - it can only talk to the boot loader. Suggest that either the bootloader is at fault or perhaps the fuse settings that protect the boot loader.

More info re board, processor, hex flash size, fuse settings, fboot version etc may help. But it ain't Webbotlib Studio !!



67
Hello,
In the Motor Characteristics section there are two inputs for the motor parameters. Can you please clarify which parameters I should put in these fields? Specifically:
  • Torque field - Should I use the stall torque here?
  • Speed field - Should this value match the "Motor Rotation Speed" value in the "RMF Results section"? I assume it should, since according to the calculator, this is the rpm I need to run my motors at in order to achieve my desired velocity. Obviously I'd need to make sure that this speed is reasonably under the no-load speed (about 83% of no-load speed? See question below).
Since this PMDC motor doesn't specify nominal speed (no datasheet that I'm aware of), can I assume it's about 83% of the no-load speed? I came up with this value by comparing nominal and no-load speeds for this motor: http://www.robotmarketplace.com/products/images/0-COPAL60.pdf.

Link to motor the actual motor I'm considering: http://www.pololu.com/product/1101
68
Electronics / Re: solder temperature
« Last post by Billy on October 01, 2014, 12:54:08 PM »
is there any reason to use lower settings?

It's been a few years but I used to solder professionally (I worked on electronics production line for a short time): Too high a heat has a few risks:
1 - you can melt the material under the copper and have the copper pad lift off the board. A real bummer as it can be near impossible to repair the board if pads are small and close together.
2 - on through-hole parts like connectors the plastic may melt making the insertion of the mating parts tough
3 - this one is a little tenuous and I have no proof, but I have been cautioned that any use of a soldering iron on chip capacitors  risks cracking the ceramic (due to rapid temp change) that will lead to reliability issues down the road. Chip caps (being surface mount) are intended for soldering in the reflow oven which is much more gentle than a soldering iron from a thermal shock point of view. By extension, a hotter soldering iron would increase the thermal shock.
4 - as others said, you'll trash the tip faster
69
Software / Webbotlib Studio FBoot only works the first time!
« Last post by Hero I on September 30, 2014, 09:58:28 PM »
I'm running the latest Webbotlib Studio on my 64 bit Windows 7 computer.

Webbotlib Studio FBoot works only the first time, but not any consecutive time thereafter.

I found that I had to re-burn the boot loader using my avr dragon device programmer.

Then Webbotlib Studio FBoot worked again, but for only the very first time. All consecutive attempts failed.

Does the Webbotlib Studio FBoot overwrite the boatloader?
70
Electronics / Re: Identifying Maxon A-max DC motor
« Last post by waltr on September 30, 2014, 01:58:18 PM »
Also measure length.

The problem with surplus Maxon motors is that most of these were custom to someone's specs. Therefore the PN will not be in the catalog. Best you can do is measure dimensions, Current draw and RPM at a set Voltage. Then try to find a "stock" motor.
Pages: 1 ... 5 6 7 8 9 10

Get Your Ad Here

data_list