go_away

Recent Posts

Pages: 1 ... 8 9 10
91
Software / Re: Webbotlib Studio FBoot only works the first time!
« Last post by Hero I on October 04, 2014, 02:24:43 PM »
My fuses match what the SoR's Axon II FAQ section says they should be set to.

Attached is an image capture of my Axon II's fuses settings.

One thing I noticed is that BOOTSZ and Fuse Register HIGH value are different than yours.
92
Electronics / Build motor control cirtuits for 4 wheel robot 6V ~2A stalled current
« Last post by RpiHacker on October 04, 2014, 12:58:37 PM »

I have spent hours searching the web for project plans / DIY information on how to build 6V motor control circuit for a 4 wheel bot that is equipped with motors that have a stall current of 2A.  I am specifically looking for plans based on the L298 IC as the info I have found to date indicates the L298 is a good choice for this project.

The bot is to be Raspberry Pi controlled.

My intent is to build most of my own circuits starting with a variable power supply and NiHM battery charger in one project box to support the bot. Both circuits are in the parts purchasing stage.  It took a while to get information to build these two items; however, no where nears as long as I have already spent on trying to find DIY info on 6V motor control circuits.

Building a robot from scratch is a journey not an event; so hopefully, my journey will not be disrupted for lack of motor control plans. Therefore, I would appreciate any advice on finding a schematic and, or project plans that can be used for this application.

Regards,

93
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)

94
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?
95
Misc / robotics book project/hiring?
« Last post by rickey1990 on October 03, 2014, 05:59:25 PM »
96
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

97
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?
98
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 !!



99
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
100
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
Pages: 1 ... 8 9 10

Get Your Ad Here