Author Topic: cerb40 flashing  (Read 13248 times)

solipsvs

  • Team Member
  • ***
  • Posts: 222
    • View Profile
Re: cerb40 flashing
« Reply #15 on: November 23, 2015, 11:32:43 AM »
xavier,

do i need something in these 3 places for an oled to work? 

'RV1' is not in the step by step instructions.  i opened my other preenfm2 up and it has one.  its also using an oled.  the PCB seems to be another color though, perhaps an older revision?

thanks

« Last Edit: November 23, 2015, 12:05:11 PM by Xavier »

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2257
    • View Profile
Re: cerb40 flashing
« Reply #16 on: November 23, 2015, 12:07:58 PM »

The 2 resistors are only usefull when you use a LCD.
But does not hurt at all with an OLED.

The third one is a external connector that would allow to read voltage (connected to ADC) if it was used. But it's not :) So also useless.

Best



solipsvs

  • Team Member
  • ***
  • Posts: 222
    • View Profile
Re: cerb40 flashing
« Reply #17 on: November 23, 2015, 01:49:35 PM »
cool.  i figured out what the problem was.  i accidentally destroyed a trace so i jumped it.  works great now.  thanks!

pauto

  • Team member
  • *
  • Posts: 11
    • View Profile
Re: cerb40 flashing
« Reply #18 on: December 27, 2015, 01:03:13 PM »
Hi, I have just build the preen and I am trying to flash the cerb40 with no succes, I try to follow the steps but I am totally lost.

I am using Macbook with Mavericks, and I had downloaded and installed dfu util with brews, now when I plug the preen with the jump3 conected and run the bootloader command it says that

Last login: Sun Dec 27 12:42:15 on ttys001
MacBook-Pro-de-pau:~ pau$ /Users/pau/Desktop/bootloader/install_bootloader.cmd ; exit;
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

dfu-util: Could not open file p2_boot_1.11.bin for reading: No such file or directory
logout

[Proceso completado]

I also tried to take out the cerb40 and plug it directly to the computer with mini usb but same message, what am I doing wrong?

I soldered the mini-usb according this http://i.imgur.com/RqPxH1ih.jpg is that right?

As said before if I disconnect jump3 the leds are working so I suppose I did no mistake with the soldering.

Hope someone can help me out!!

Cheers!!




Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2257
    • View Profile
Re: cerb40 flashing
« Reply #19 on: December 27, 2015, 07:13:54 PM »
Hi,

You execute the install_bootloader.cmp from an other folder, so it does not find the firmware file.
Instead of :
> /Users/pau/Desktop/bootloader/install_bootloader.cmd ; exit;
Try
> cd /Users/pau/Desktop/bootloader/
> install_bootloader.cmd

Soldering the CERB40 mini USB cable is explained at the bottom of this page :
http://ixox.fr/preenfm2/build-it/the-pcb/

Best,

Xavier
« Last Edit: December 27, 2015, 10:34:02 PM by Xavier »

pauto

  • Team member
  • *
  • Posts: 11
    • View Profile
Re: cerb40 flashing
« Reply #20 on: December 28, 2015, 10:37:44 AM »
It's a bit weird but without changing anything, just the place where "bootloader" folder was I managed to install the bootloader, the most weird is that I had allready checked that before and did not work but all is good, now I have a working PreenFM unit  :)

Thanks!!!