ForumPortal
Dein letzter Besuch: Aktuelle Zeit: 20. Jun 2018 15:15


Alle Zeiten sind UTC + 1 Stunde [ Sommerzeit ]




Ein neues Thema erstellen Auf das Thema antworten  [ 18 Beiträge ] Gehe zu Seite  Vorherige  1, 2
AbonnentenAbonnenten: 0
LesezeichenLesezeichen: 0
Zugriffe: 1750

AutorNachricht
 Betreff des Beitrags: Re: rol-jal-bim112
BeitragVerfasst: 3. Jun 2016 10:56 

Registriert: 06.2015
Beiträge: 33
Geschlecht: nicht angegeben
Hendrik hat geschrieben:
Your lpcxpresso installation comes with a tool to convert the binary files. The magic command is

arm-none-eabi-objcopy -O ihex rol-jal-bim112.axf rol-jal-bim112.hex

The arm-none-eabi-objcopy should be somewhere in /path/to/lcpxpresso/lpcxpresso/tools/bin/. Also have a look at http://support.code-red-tech.com/CodeRe ... putFormats. If you have any trouble with it, ask again. I can do the conversion for you, but not before tonight.


Yes, I tried it as well this way getting a hex downloadable on uC.
No way! the problem remains, after the failure of the PA in the download starts flashing IO2 (??).
This makes me think that my hex is correct (I had the same problem), then, given that, for other people this firmware works and not to me, open up different scenarios:

1) I'm using a vd incorrect ETS file (I use MDT_KP_Jalousieaktor_V28.knxprod but I tried other)

2) The firmware uses a watchdog and Magicflash not allow me to set it (there)

3) I use a 12 MHz crystal while the firmware using an oscillator.

I do not know what else to think.

For the record, only OUT8-BCU1 I work, nothing else. (Bah?)

Anyway, your hex is well appreciated. Who knows!

paschal


Nach oben
Offline Profil  
 
 Betreff des Beitrags: Re: rol-jal-bim112
BeitragVerfasst: 3. Jun 2016 11:16 

Registriert: 08.2015
Beiträge: 155
Wohnort: Heidelberg
Geschlecht: männlich
1) I'm using the online catalog in the ETS. As application program I've chosen the one for JAL-0410.01, 4TE, 230VAC, 10A, version 2.8.

2) There is no watchdog I know of.

3) My 4TE controller also has a crystal. No need to change anything for crystal vs oscillator for the LPC1115. The firmware doesn't know about it.

But there are other options. Like a bug in the bim112 part of the lib that causes some timing-sensitive trouble. Can you run the bus monitor when assigning the PA? If after programming the PA you disconnect the device from the bus and reconnect, do you see the PA (i.e. does it get written into the eeprom)? If you disconnet and reconnect, then check for "devices in programming mode" in the ETS, does it appear?


Nach oben
Offline Profil  
 
 Betreff des Beitrags: Re: rol-jal-bim112
BeitragVerfasst: 3. Jun 2016 12:30 

Registriert: 06.2015
Beiträge: 33
Geschlecht: nicht angegeben
Hendrik hat geschrieben:
1) I'm using the online catalog in the ETS. As application program I've chosen the one for JAL-0410.01, 4TE, 230VAC, 10A, version 2.8.

2) There is no watchdog I know of.

3) My 4TE controller also has a crystal. No need to change anything for crystal vs oscillator for the LPC1115. The firmware doesn't know about it.

But there are other options. Like a bug in the bim112 part of the lib that causes some timing-sensitive trouble. Can you run the bus monitor when assigning the PA? If after programming the PA you disconnect the device from the bus and reconnect, do you see the PA (i.e. does it get written into the eeprom)? If you disconnet and reconnect, then check for "devices in programming mode" in the ETS, does it appear?




I managed to transfer PA and application!

Now I try the operation.


Nach oben
Offline Profil  
 
 Betreff des Beitrags: Re: rol-jal-bim112
BeitragVerfasst: 3. Jun 2016 13:21 

Registriert: 06.2015
Beiträge: 33
Geschlecht: nicht angegeben
It seems to work well.
Infinite thanks Endrik, have a dinner paid if steps to Salerno.
paschal


Nach oben
Offline Profil  
 
 Betreff des Beitrags: Re: rol-jal-bim112
BeitragVerfasst: 3. Jun 2016 13:27 

Registriert: 08.2015
Beiträge: 155
Wohnort: Heidelberg
Geschlecht: männlich
So did you change anything? Or did you simply convert my .axf to .hex and it worked?


Nach oben
Offline Profil  
 
 Betreff des Beitrags: Re: rol-jal-bim112
BeitragVerfasst: 3. Jun 2016 13:35 

Registriert: 06.2015
Beiträge: 33
Geschlecht: nicht angegeben
by the time I converted your file.
Try 'then convert my. (I followed your steps but initially I did not understand that I had to use the "arm-none-eabi-objcopy" in DOS, I did it directly LPCExpresso.

thanks again.


Nach oben
Offline Profil  
 
 Betreff des Beitrags: Re: rol-jal-bim112
BeitragVerfasst: 4. Jun 2016 08:55 

Registriert: 06.2015
Beiträge: 33
Geschlecht: nicht angegeben
Hendrik hat geschrieben:
So did you change anything? Or did you simply convert my .axf to .hex and it worked?

Good morning

I confirm the operation of my Hex (evidently it was just a problem with the conversion from AXF -> HEX).

Out of curiosity, do you work the PWM? why not me !. Probably 'it disabled. But it is essential. Who knows where you turn !.

Good day
paschal


Nach oben
Offline Profil  
 
 Betreff des Beitrags: Re: rol-jal-bim112
BeitragVerfasst: 4. Jun 2016 10:34 

Registriert: 08.2015
Beiträge: 155
Wohnort: Heidelberg
Geschlecht: männlich
I haven't looked into this, yet, so I don't know if PWM is active or not. I also had a problem with one configuration in which a STEP command resulted in an endless move. So there is still some debugging to be done, but simple setups seem to work.


Nach oben
Offline Profil  
 
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen Auf das Thema antworten  [ 18 Beiträge ]  Gehe zu Seite  Vorherige  1, 2

Alle Zeiten sind UTC + 1 Stunde [ Sommerzeit ]


Du darfst keine neuen Themen in diesem Forum erstellen.
Du darfst keine Antworten zu Themen in diesem Forum erstellen.
Du darfst deine Beiträge in diesem Forum nicht ändern.
Du darfst deine Beiträge in diesem Forum nicht löschen.
Du darfst keine Dateianhänge in diesem Forum erstellen.

Suche nach:
cron
Powered by phpBB® Forum Software © phpBB Group | Theme created StylerBB.net
phpBB3 Forum von phpBB8.de
» Kontakt & Rechtliches Support / Hilfe Forum Gooof Webdesign Kostenloses Forum Dein Forumo Forum web tracker