Quantcast
Jump to content


  • Sign Up, it's FREE!

    Welcome to RC Drone Forum! Use the main menu and search bar to navigate our site. It's always FREE to join our Drone Community and post in our forums, create your own Drone club, share your photos and videos and more. It's easy to get started and you can login with some of these popular social networks.

Bricked my CG-035...


DUGGINS

Recommended Posts

instead of making a copy of the original software program, BEFORE I attempted to upgrade to the newer software. Well the outcome is BRICK..anyone have a copy of the software, in case I can get it to reload onto the bird? I've not done much looking, as I just did this today....Thanks...I have the GPS model....

Link to comment
Share on other sites



well, I had made some adjustments to the bird, THEN I decided to flash the new software, WRONG THING to do, now the computer does not recognize it. As before it installed the USB DRIVER, and all worked as advertised, but flashing the software took care of that. So my BAD, trusting to software, that had plenty of warnings out, but I didn't get the message....

Link to comment
Share on other sites

On 3/29/2017 at 3:02 AM, DUGGINS said:

well, I had made some adjustments to the bird, THEN I decided to flash the new software, WRONG THING to do, now the computer does not recognize it. As before it installed the USB DRIVER, and all worked as advertised, but flashing the software took care of that. So my BAD, trusting to software, that had plenty of warnings out, but I didn't get the message....

So you re-flashed it and you are good to go?

  • Like 1
Link to comment
Share on other sites

no, the computer doesn't recognize it now, so I musta wiped the board clean....all I get is a squealing controller when I turn it on...the drone does nothing...except flash lights, the RED ones....no hook-up with either the computer or the controller...SO, I ordered a new main board, and hope that fixes it...IF NOT, I'll have another addition for my parts box....I had thought this would make a god vacation drone, so I was tweaking it...haa...haa...I tweaked it right into the scrap bin....

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 2 months later...

Hi All,

I'm making progress on unbricking - Have managed to get the bootloader working - but I don't have a copy of the binary firmware. If anyone has it, please contact me and send me a copy -

Anyway, to help others who have bricked their controllers, and can't get them to recognize.... And to help those upgrading to make a backup first. 

First, the reset button you might have heard about doesn't help much and won't do anything about a firmware failure - the reset switch just goes to a general input on the processor. The true boot selector is the two pins at the back of the PCB, although most probably just have two holes where the pins go. There should be around 3.3v difference between the two - The negative side is a pulldown to BOOT0 on the processor.

Solder two pins in here and install a jumper, or just short them together for a second or so while you insert the battery.

At this point, the processor will go into BOOTLOADER mode. Remove the UART1 cable from the main board ( it's the one that goes to the receiver ) - If you do this, then make a plug to go into it, and break it out to GND, TXD and RXD. The pins are 5v tolerant. Now connect this to a TTL uart interface ( you can get them on Ebay - About $5 each or so... Plug into USB ). -

Then download the ISP programmer from http://gd32mcu.21ic.com/en/index It's the Gigadevice ISP programmer ( In System Programmer ) - Yes, they often use a strange serial port. We're not using it. It's OK.

Now... Power up the quad in BOOTLOADER mode. The lights underneath will flash slowly and it will make a slow beeping sound. Connect the UART cable to UART1 as per above.

Run the ISP software. Select the serial port that was assigned to the USB uart adapter ( or whatever serial port you're using ). Connect... It should recognize the chip immediately and tell you it's ID, then will tell you that it's not write or read protected.

THEN go to the next page... UPLOAD ( from quad down to you ) a COPY of the existing firmware from the device ( if it's good ) before reflashing. Even upload the bad one and store it with a suitable filename if it's bad.

Once you've made backup copies in both .HEX and .BIN ( make both for convenience later ) - then get a copy from a good quad with the same board revision, and DOWNLOAD it to your quad. You can also restore an earlier version. This is the ONLY known way to unbrick your quad.

Oh yeah, if you used a jumper instead of just shorting the pins on power-up, then remember to remove it before resetting, or you won't realize why nothing is working.

Interesting note: You can set a serial terminal program to 115200 baud and watch the output from the quad when it starts up. It will tell you what's going on. Hope this helps someone else - I'm still looking for a backup copy for firmware for the 1.1version board, so if anyone makes a good backup, and can supply it, please let me know.

David.

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Hi Guys. Im having The same problem as Duggins. This all started off because my first flight when I launched, It flew off and crashed into a tree about 200mtrs away. Thank god for the tree, because it would have kept going. No damage though. So the vast software was used to rectify that imbalance. I have looked at Davids post.  downloaded all recommended software and drivers and tried to follow the instructions. But my board looks a bit different from the Pics that David posted. I cant Identify a UART port socket. I have posted some pics of my board hopefully they upload ok. If you can help that would be great. The Vast software doesn't recognise the drone now and I am having trouble getting it into bootloader mode. I have tried all the buttons and power up methods but cant get into it. Even if I did get into bootlloader, I haven't got the file to flash to the chip.

Nice to meet you all best regards Paul

Aosemna CG035 Board 1.jpg

Aosemna CG035 Board 4.jpg

Link to comment
Share on other sites

  • 1 month later...

Hi Paul, the uart1 is the same port that goes to the receiver, so you have to unplug the receiver to access the ISP interface. We can successfully reprogram the CG035 but we can't undo the damage caused by a bad flash from the VAST software. AOSENMA have done something to prevent people copying their code, and I think it looks for a serial in the CPU and won't work unless that is present, and every CG035 has a different one. If you backed up your configuration before you flashed it, it can be unbricked, but only if backed up first, since your code is unique to your CG035. It's a copy protection system.

The manufacturer has advised that we can write new software for the CG035 ourselves if we wish, and has confirmed that the uart1 is how they reprogram their quads as well, but they won't give us the software to fix it. It's a shame. Some others are still trying to get the software out of them. So if anyone wants to try updating their firmware, the first step should ALWAYS be to back up the existing firmware first using the ISP, then flash using the VAST software, then back up the new firmware if successful also using the ISP and save these backup files.

We're still looking for a solution for everyone. In the mean time, they are selling new boards for around $80 or so. Which might explain why they aren't too keen on helping us solve the problem since the boards are worth about $20.  :(

  • Thanks 1
Link to comment
Share on other sites

  • 3 months later...

Hi, 

Thanks cj7hawk for your efforts on Cg035!

I bricked my drone while flashing a new firmware confirmed by one user in the FB group that should have worked for v1.2 of the board.  Apparently it didn't and my bird is now dead doing the same sound when connected to the Vast, bound to the transmitter, but not recognized by Vast and not doing anything else.

I am thinking of another solution: why not replacing the bricked PCB with ArduPilot Mega and use all the other parts, which are working? It's an open source solution and costs about 45$, which is less than the Cg035's new board. 

What do you think? 

Zlobayo 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...