For any add-on boards such as VR conditioners, optos and OEM interface boards
#48014
well, one of the biggest advantages of this part is that it is a basic part. It is also available in really large numbers at the manufacturer. Basic parts are "free" for assembly and there is no extra fee which you have to pay for extended parts. And you are also limited by a maximum of ten extended parts. So you are always counting the extended parts not surpassing the maximum number. And every extended parts costs around 3 dollar extra fee which means you have to pay 30$ extended parts fee per order if you have used ten extended parts. And you are always use them all... ;-). Sometimes you have to substitute a resistor which would be a extended part with two basic parts resistors. This is the main reason we are using this EOL switching controller.
#48077
Hi!
i recieved some boards ive ordered (V0.0.2a)
and today i completed my first board.
now i want to upload the firmware to the controller, can i do this by using the arduino ide (arduino as ISP?)
do i need to install the bootloader hex first? or is it included when i compiled the files in arduino ide?
im kinda noob in uploading firmware to a new chip :oops:

thanks!

Mappie.
#48132
Alfagta wrote:Hello,

you can use an Arduino as ISP.
Bootloader is not needed
Yes! thanks it works.

now i need to find out how to do some debugging logs.
when i power the board 2 leds light up, blue and green.
i use arduino uno as serial to usb converter.
but in the arduino ide serial monitor it does give some output (acsii code?):

;⸮CK⸮tK@DCK0⸮⸮{⸮Ë⸮4D⸮3⸮;;4⸮⸮⸮⸮⸮⸮⸮4;⸮CK⸮tK@DCK0⸮⸮{⸮Ë⸮4D⸮3⸮⸮4⸮⸮⸮⸮⸮⸮⸮4;⸮CK⸮tK@DCK0⸮⸮{⸮Ë⸮4Dij⸮⸮0⸮⸮⸮⸮C⸮⸮⸮4
#48250
chaoschris wrote: Mon Feb 08, 2021 7:46 am Hello Mappie,
you must correct your baud rate to 115200. And you have set the fuses correct?
https://raw.githubusercontent.com/oelpr ... /fuses.txt
Best regards,
Chris
Thanks! indeed i forgot the fuses,

Ive changed them now.

Now when i connect the board ( only 12V + GND)
NO sensor connected
Baudrate set at 115200
I get these values in serial monitor :

00:18:17.246 -> ⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮ۻk⸮o}m{w}⸮⸮⸮⸮⸮⸮⸮⸮⸮ode:START
⸮⸮.34
00:18:17.433 -> Lambda:1.00
00:18:17.433 -> Cj:E⸮7⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮o}⸮{w}⸮⸮⸮⸮]⸮25⸮U⸮o⸮⸮⸮⸮U⸮⸮⸮⸮12.34
00:18:17.433 -> Lambda:1.00
00:18:17.433 -> Cj:E⸮7⸮⸮⸮⸮⸮}⸮W}[W⸮o⸮⸮o⸮⸮⸮⸮⸮⸮⸮o⸮W⸮⸮⸮TL⸮U⸮HMod⸮{upply:12.34
00:18:17.665 -> Lambda:1.00
00:18:17.665 -> Cj:⸮⸮⸮⸮⸮⸮⸮⸮ow⸮⸮_u⸮⸮[}o}⸮⸮⸮⸮⸮⸮⸮⸮o}m{w}⸮⸮⸮⸮⸮⸮⸮TH⸮H⸮ꋕ⸮START
00:18:17.948 -> Su⸮⸮C!*⸮⸮⸮⸮⸮1.00
00:18:17.948 -> Cj:⸮{⸮⸮⸮⸮⸮[W{w⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮o}m{w}⸮⸮⸮⸮⸮⸮⸮WL⸮*'j
00:18:18.279 -> Mode:START
00:18:18.279 -> Supply:12.27
00:18:18.279 -> L⸮⸮?7f⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮[uo}⸮⸮⸮⸮⸮⸮⸮⸮o}m{w}⸮sj:e<7F
⸮SH⸮⸮307
00:18:18.563 -> IP:0
00:18:18.563 -> Mode:START
00:18:18.563 -> Supply:12.25
ʿ[⸮⸮jk⸮⸮⸮⸮⸮⸮⸮⸮_⸮⸮⸮⸮[wo}⸮⸮⸮⸮⸮⸮⸮}o⸮⸮⸮⸮o⸮⸮E87F
⸮U⸮308
00:18:18.845 -> IP:0
00:18:18.845 -> M⸮
00:18:18.845 -> Supply:12.32
00:18:18.845 -> Lamr⸮⸮⸮>>⸮⸮sj;e>7f⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮m]⸮⸮_uo}⸮⸮⸮⸮⸮⸮⸮⸮o⸮⸮k⸮cj:E<7⸮⸮*⸮⸮⸮⸮j
00:18:19.176 -> UA:308
00:18:19.176 -> IP:0
00:18:19.176 -> Mode:START
00:18:19.176 -> Supply:1fy:9⸮>>⸮⸮sj;u>7g⸮⸮U⸮⸮⸮⸮⸮⸮⸮⸮⸮]⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮;1.<<͊cj:E<7F
⸮]R:1013⸮⸮⸮
00:18:19.462 -> ⸮⸮j
00:18:19.462 -> Mode:START
00:18:19.462 -> Supply:1:⸮⸮⸮⸮⸮⸮⸮=.>>⸮⸮sj:e?⸮f⸮⸮⸮⸮⸮⸮m_⸮⸮{⸮⸮}[W⸮⸮[wo_⸮⸮{⸮⸮k⸮⸮j⸮⸮o⸮UR:1012
00:18:19.746 -> UA:307
00:18:19.746 -> IP:0
00:18:19.746 -> Mode:START
00:18:19.746 -> ;7⸮⸮Nymrfy;9.>>⸮⸮sk;e⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮_⸮⸮o⸮⸮⸮⸮⸮⸮[uo}⸮⸮⸮⸮⸮⸮mbdq:1.<8
⸮cj:E87F⸮⸮UR:⸮⸮⸮⸮SH(
00:18:20.078 -> ⸮⸮j
00:18:20.078 -> Mode:START
00:18:20.078 -> Supxn}:⸮[o⸮*⸮ə⸮⸮9.>?⸮⸮sj;u⸮⸮⸮⸮⸮⸮⸮⸮⸮{⸮⸮⸮⸮⸮[W}[W⸮⸮[uo}⸮⸮⸮⸮⸮⸮W⸮1.⸮?F
⸮UR:1013
00:18:20.361 -> UA:308
00:18:20.361 -> IP:0
00:18:20.361 -> Mode:START
00:18:20.361 -> S⸮⸮SN⸮*⸮ɝ⸮⸮9.>>⸮⸮sk⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮o]⸮⸮[⸮⸮⸮⸮⸮⸮k⸮o}}⸮⸮⸮<⸮
00:18:20.503 -> cj:E<7F⸮⸮UR:}⸮&j
00:18:20.645 -> IP:0
00:18:20.645 -> Mode:START⸮⸮⸮};92.27⸮⸮Nymrfy;=⸮>>⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮mowu⸮[W}[W⸮⸮[u⸮⸮*⸮⸮⸮⸮⸮1.8⸮⸮⸮UR:1012
00:18:20.977 -> UA:307
00:18:20.977 -> IP:0
00:18:20.977 -> Mode:STARV⸮⸮⸮⸮⸮}⸮Nymrgy:=⸮>⸮⸮⸮⸮⸮⸮⸮⸮m_⸮⸮⸮⸮m⸮⸮⸮[W}⸮⸮⸮⸮⸮⸮⸮7i⸮j
00:18:21.118 -> Lambdq:1.8<⸮⸮Cj:⸮⸮UR:1012
00:18:21.259 -> UAC⸮ꋕ⸮STaZ_⸮⸮⸮⸮⸮⸮92⸮29⸮⸮Nymrgy:9.⸮⸮⸮⸮⸮⸮⸮mowu⸮[W}[W⸮⸮[u⸮⸮[L⸮*⸮⸮⸮⸮⸮1.<<⸮⸮cj:e⸮UR:1013
00:18:21.543 -> UA:307
00:18:21.543 -> IP:0
00:18:21.543 -> Mode:STAR~ͫ⸮=2.39⸮⸮⸮[⸮⸮⸮⸮⸮⸮⸮⸮m߻⸮⸮⸮mo⸮u⸮[W}[w⸮⸮⸮9⸮
00:18:21.732 -> Lqmbdq:1.8<⸮UR:1013
00:18:21.874 -> UA:308
߫UNoU⸮⸮⸮⸮⸮92.;?⸮⸮Nym{⸮U[⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮{⸮mowu⸮[W}⸮⸮⸮⸮⸮⸮⸮12.27
⸮Lqmbda:1.<⸮UR:1012
00:18:22.159 -> UA:307
00:18:22.159 -> IP:0
00:18:22.159 -> Mote⸮⸮⸮⸮Su~ny:=⸮.:5⸮⸮Nym{⸮U[⸮⸮⸮⸮⸮⸮U}⸮⸮⸮⸮⸮⸮m_⸮⸮⸮⸮mowu⸮[W}⸮⸮⸮⸮12.34⸮⸮⸮⸮UR:1013
00:18:22.443 -> UA:308
00:18:22.443 -> IP:0⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮=2.37⸮⸮⸮⸮⸮⸮⸮k⸮U}⸮⸮⸮⸮⸮⸮m_⸮⸮⸮]⸮⸮⸮͊Su|xly:12.32
⸮Lqmbdy⸮⸮307
00:18:22.774 -> IP:⸮⸮⸮⸮⸮⸮SVyRV⸮⸮Su~ny;93⸮;⸮⸮⸮⸮_⸮⸮⸮⸮⸮⸮U}⸮⸮⸮⸮⸮⸮m_⸮⸮⸮⸮mow⸮⸮⸮⸮⸮Su||ly:12.25⸮⸮Lqmbd⸮UR:1013
00:18:23.058 -> UA:307
00:18:23.058 -> IP:0
00:18:23.058 -> Mode:START⸮⸮⸮⸮=;.22⸮⸮Nym⸮w⸮⸮⸮⸮⸮U⸮⸮⸮⸮m_⸮⸮⸮⸮mowu⸮_⸮⸮⸮⸮j⸮Lambda:⸮UR:1013
00:18:23.340 -> UA:307
00:18:23.340 -> IP:0
00:18:23.387 -> ⸮u{⸮⸮⸮⸮⸮⸮⸮9:.35⸮⸮Nymsf}⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮m_⸮⸮⸮⸮⸮;STqRT
⸮Sux|ly:12.3<
⸮⸮⸮
00:18:23.673 -> UA:307
00:18:23.673 -> IP:0
00:18:23.673 -> Mode:S⸮5⸮Su~~ny:92⸮25⸮⸮Nymrg⸮⸮⸮⸮⸮⸮⸮U_⸮⸮⸮k⸮m_⸮⸮⸮⸮⸮_+ULlU⸮⸮⸮⸮12.⸮oUR:1013
00:18:23.956 -> UA:307
00:18:23.956 -> IP:0
00:18:23.956 -> Mode:START
⸮Su~⸮{⸮⸮⸮⸮⸮r⸮⸮j⸮{⸮W[⸮⸮⸮⸮⸮{⸮⸮⸮⸮⸮o⸮⸮e:STqRT⸮
00:18:24.098 -> Su|xny:12/⸮UR:1012
00:18:24.240 -> ⸮⸮>⸮⸮⸮⸮⸮⸮Y⸮IY5⸮Suny:=2⸮27⸮⸮n[⸮⸮⸮⸮⸮⸮⸮U}⸮⸮⸮⸮⸮⸮s⸮ꋕ⸮STqRV
⸮Su||ly:1⸮UR:1012
00:18:24.571 -> UA:307
00:18:24.571 -> IP:0
⸮{⸮⸮m]5⸮Su~~n}:=2/2⸮⸮⸮oU[⸮⸮⸮⸮⸮⸮⸮U}⸮⸮⸮⸮Mode:STa⸮⸮UR:1012
00:18:24.854 -> UA:308
00:18:24.854 -> I^⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮93⸮⸮U[⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮_:<
⸮Mode:STqRT⸮⸮Su||⸮UR:1⸮j
00:18:25.185 -> I~⸮⸮⸮˕⸮SVySV⸮⸮Suny;=;⸮⸮U[⸮⸮⸮⸮⸮⸮⸮U}⸮⸮⸮M\:<⸮
00:18:25.327 -> Mode:STqRT⸮⸮Su||UR:1012
00:18:25.471 -> UA:307
00:18:25.471 -> IP:⸮⸮⸮[VyRV⸮⸮Su~oy;92⸮3⸮⸮U[⸮⸮⸮⸮⸮⸮⸮⸮⸮k⸮I\:<⸮
00:18:25.612 -> Mo⸮⸮⸮{UR:1013
00:18:25.754 -> UA:3⸮S⸮⸮⸮⸮⸮⸮⸮⸮UNnU⸮⸮⸮⸮U[⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮I^:8⸮⸮Mode:STqRT⸮⸮U⸮⸮S⸮⸮⸮j⸮Mofe:SVyRV⸮⸮[u~o}U⸮{⸮U⸮3>7
⸮I\:<⸮⸮Mode:S⸮UR:1013⸮⸮u{o/ʥ⸮j⸮Mofu:SVyRW⸮⸮⸮U[⸮⸮⸮⸮⸮j⸮IX:<
⸮MoUR:1013
⸮U⸮⸮}⸮>O⸮⸮SV⸮⸮SuU⸮⸮⸮⸮⸮k⸮⸮}⸮⸮'j⸮Mode:STaRT
⸮S⸮⸮⸮⸮3>7⸮⸮I_:>⸮⸮Mogu;SW}⸮⊚j⸮Uq:3<7⸮⸮I\:<
00:18:27.125 -> Mo⸮⸮UR:1⸮⸮⸮⸮_⸮&⸮j⸮I^:>⸮⸮Moge:SW}R⸮U[⸮⸮⸮⸮⸮⸮⸮j⸮I\:8⸮⸮Mode:STqR⸮U{⸮⸮⸮Uy;;>7⸮⸮⸮⸮⸮{⸮⸮⸮⸮3<7⸮⸮IX:⸮UR:9>93⸮⸮Uy⸮⸮⸮⸮⸮⸮UR:1812
⸮Uq:387
#48262
Something is wrong with your MCU(Mega328), Construction of board, programming or Serial to USB adapter. Ive done a few and haven't had anything like that on the serial.

As it looks to get worse the longer it goes, im guessing you have a faulty CJ125, the Information being printed the first part being the label of the data seems intact, but the data from the cj125 is corrupt.
#48301
NickZ wrote: Thu Feb 11, 2021 9:47 am Something is wrong with your MCU(Mega328), Construction of board, programming or Serial to USB adapter. Ive done a few and haven't had anything like that on the serial.

As it looks to get worse the longer it goes, im guessing you have a faulty CJ125, the Information being printed the first part being the label of the data seems intact, but the data from the cj125 is corrupt.
hmm ill try another board, see if it is throwing the same.
im using arduino uno as usb-serial adapter.

1 more thing about the fuse settings:
the last fuse setting in the .txt file: LB 0cCF is this correct? or should it be LB 0xCF?

i use Arduino as ISP uploading the Firmware, and this are the settings:

avrdude -c arduino -b 115200 -p m328p -P COM4 -n

avrdude -c arduino -b 115200 -p m328p -P COM4 -U lfuse:w:0xFF:m -U hfuse:w:0xDA:m -U efuse:w:0xFD:m -U lbfuse:w:0cCF:m

avrdude -c arduino -b 115200 -p m328p -P COM4 -U flash:w:BL49SP.ino.hex

this should be correct?

Thanks for your input :)
  • 1
  • 18
  • 19
  • 20
  • 21
  • 22
  • 31

Always going to be one, I have completed 3 convers[…]

Do i have to do something in arduino software ? i […]

STM32 development

Not yet, I have been too busy to look into it but […]

Hola a todos Actualizo!!! Me es grato comunicaros[…]

Still can't find what you're looking for?