buhochileno wrote:Any chance to convert a .bgp to hex or bin to transfer the "humanoid" demo or other included demo files with the programmer?
No, not really. You could probably do it by hacking around but it's beyond anything we've done. You would need to hack the Bioloid firmware (e.g. v115) and the BCP into a combined ROM file at the correct offsets (which I have no idea of) and then use the programmer to get them into the application ROM. For all this hackery you may as well use the BCP.
Please explain me, the bootloader is then a program that reside in the atmel rom?..where can I find info about that bootloader program?, what is the diference with the "supervisor" and by the way, waht IS the "supervisor", where do you find info to use the supervisor command?..
Ok, inside the ATmega128 (the microcontroller the CM-5 is based on) you have two 'sections' of the ROM. The way Robotis configure the chip is to use the top section as a non-reprogrammable bootloader. This is the bit which talks over the serial port (or zigbee) and allows you to program the remainder of the flash (the application section) using Robot Terminal or Matt's programmer. The BCP also uses this same bootloader to put the Bioloid firmware into the application section (at the start) and the BCP instructions (a highly tokenised instruction set) into the application section (near the end). The motions are also stored near the end.
I supose then that the CM-5 console (the one that let you do: go 100 1000 and thing like that) is a program that is run by the cm-5 bootloader or the supervisor?, if it is so, how the CM-5 console allow you to have that console and "play" another programm changing to the "play" mode?, really confuse about all that..any good reading?
Forgetting libbioloid and Matt's programmer this is what normally happens when the CM-5 starts up:
- The chip self-initialises and starts the bootloader.
- The bootloader initialises the serial port and waits for 60ms for any '#' characters to arrive. If any do arrive it switches into 'bootloader' mode and allows you to erase and program the flash/eeprom.
- If the bootloader doesn't detect any input it jumps to the start of flash which is where the application software is placed.
- The default application software is the Bioloid firmware, the BCP 'master application' which is contained in the .ROM file.
- The Robotis application initialises the serial ports, zigbee and LEDs/buttons and it's THIS firmware which does the battery charging, button interaction and reads the BCP instructions placed higher up the flash by the BCP.
When you use libbioloid you replace the contents of the flash with your program. You have to develop your own LEDs, button interaction, charging algorithm (see other threads, I do not think it safe to use the charging circuit on the CM-5) and motion methods. In our cases we don't have any precoded motion sequences and all of the motion is dynamically calculated. This means we don't have any equivalent for the Robotis BCP/Motion Editor.
buhochileno wrote:Any chance to convert a .bgp to hex or bin to transfer the "humanoid" demo or other included demo files with the programmer?
No, not really. You could probably do it by hacking around but it's beyond anything we've done. You would need to hack the Bioloid firmware (e.g. v115) and the BCP into a combined ROM file at the correct offsets (which I have no idea of) and then use the programmer to get them into the application ROM. For all this hackery you may as well use the BCP.
Please explain me, the bootloader is then a program that reside in the atmel rom?..where can I find info about that bootloader program?, what is the diference with the "supervisor" and by the way, waht IS the "supervisor", where do you find info to use the supervisor command?..
Ok, inside the ATmega128 (the microcontroller the CM-5 is based on) you have two 'sections' of the ROM. The way Robotis configure the chip is to use the top section as a non-reprogrammable bootloader. This is the bit which talks over the serial port (or zigbee) and allows you to program the remainder of the flash (the application section) using Robot Terminal or Matt's programmer. The BCP also uses this same bootloader to put the Bioloid firmware into the application section (at the start) and the BCP instructions (a highly tokenised instruction set) into the application section (near the end). The motions are also stored near the end.
I supose then that the CM-5 console (the one that let you do: go 100 1000 and thing like that) is a program that is run by the cm-5 bootloader or the supervisor?, if it is so, how the CM-5 console allow you to have that console and "play" another programm changing to the "play" mode?, really confuse about all that..any good reading?
Forgetting libbioloid and Matt's programmer this is what normally happens when the CM-5 starts up:
- The chip self-initialises and starts the bootloader.
- The bootloader initialises the serial port and waits for 60ms for any '#' characters to arrive. If any do arrive it switches into 'bootloader' mode and allows you to erase and program the flash/eeprom.
- If the bootloader doesn't detect any input it jumps to the start of flash which is where the application software is placed.
- The default application software is the Bioloid firmware, the BCP 'master application' which is contained in the .ROM file.
- The Robotis application initialises the serial ports, zigbee and LEDs/buttons and it's THIS firmware which does the battery charging, button interaction and reads the BCP instructions placed higher up the flash by the BCP.
When you use libbioloid you replace the contents of the flash with your program. You have to develop your own LEDs, button interaction, charging algorithm (see other threads, I do not think it safe to use the charging circuit on the CM-5) and motion methods. In our cases we don't have any precoded motion sequences and all of the motion is dynamically calculated. This means we don't have any equivalent for the Robotis BCP/Motion Editor.