Current Server Time: 20:38 (Central Europe)

#apertus IRC Channel Logs

2020/04/24

Timezone: UTC


01:00
Spirit532_
joined the channel
01:00
Spirit532
left the channel
01:00
Spirit532_
changed nick to: Spirit532
01:06
Spirit532
left the channel
01:06
Spirit532
joined the channel
02:12
futarisIRCcloud
left the channel
04:14
Bertl
off to bed now ... have a good one everyone!
04:14
Bertl
changed nick to: Bertl_zZ
05:28
futarisIRCcloud
joined the channel
06:19
BAndiT1983|away
changed nick to: BAndiT1983
07:03
mumptai
joined the channel
07:43
se6ast1an
thanks BAndiT1983, debugging up and running for me as well
07:43
se6ast1an
did you experiment with the pickit and attached debugging already as well?
07:45
BAndiT1983
not in vscode yet, it worked in MPLABX fine, but is sometimes limited, as microchip tools are better in higher versions, don't know if it is artificial thing or just the fact that pickit3 is already over 10 years old
07:49
BAndiT1983
for the UI it's already sufficient to debug locally, as the logic won't change on the board, but special things, like LCD, UART etc. handling would require in-circuit debugging
07:51
BAndiT1983
platformIO plugin looks like it could help, but needs evaluation first -> https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide
07:52
Spirit532
left the channel
07:53
Spirit532
joined the channel
08:13
BAndiT1983
just checked quickly and platformio requires it's own project structure, don't need additional bloat, so will check how GDB works with pickit3
08:16
se6ast1an
great
09:30
BAndiT1983
se6ast1an: you have pickit2 right?
09:34
se6ast1an
yes
09:37
BAndiT1983
then you can do it a bit easier -> https://github.com/sergev/ejtagproxy
09:37
BAndiT1983
i have to find a method to write the scripting firmware to my pickit3
09:38
BAndiT1983
cannot write a config and test it, until i have done it
09:39
BAndiT1983
microchip does not support the app anymore and it is windows only, so either i start my win10 and try to flash it or recompile the app for linux
09:48
BAndiT1983
se6ast1an: my vscode can't find your action buttons, where have you set the up?
09:48
BAndiT1983
*them
09:53
se6ast1an
https://marketplace.visualstudio.com/items?itemName=seunlanlege.action-buttons
09:53
BAndiT1983
i have the plugin, but it can't find any, do i have to open süecific folder?
09:53
BAndiT1983
*specific
09:56
se6ast1an
https://pastebin.com/FXU7GhPc
10:03
BAndiT1983
thanks, should we consider of carrying vscode settings in the repo? would simplify a life of more people, if we pre-define some things, e.g. local debug, pic32 debug and so on in action buttons, tasks or launch options
10:07
BAndiT1983
btw. your aboslute path can be replaced with ${workspaceFolder}, also this settings can be carried with the project in .vscode/settings.json
10:08
se6ast1an
good idea yes
10:08
se6ast1an
please push
10:11
BAndiT1983
there is only one launch option at the moment, the visualiser debugging, maybe you can try to open the main axiom remote project folder and press f5, cannot test it as i haven't fixed the debug painter yet, so my build is broken
10:11
BAndiT1983
committed
10:18
se6ast1an
thanks
10:18
se6ast1an
created https://lab.apertus.org/T1186 so we have a central page for the hardware debugging
10:20
BAndiT1983
ok, will update it as soon as i have some insight
10:25
metal_dent[m]
BAndiT1983: Hi, have you also created the c_cpp_properties.json file in .vscode dir?
10:32
BAndiT1983
yes
10:32
BAndiT1983
do you need it?
10:38
BAndiT1983
changed nick to: BAndiT1983|away
10:44
metal_dent[m]
no that I have as you just pushed but i need the compile_commands.json file
10:46
BAndiT1983|away
changed nick to: BAndiT1983
10:47
BAndiT1983
i don't have the file at the moment, as i haven't used that .vscode folder that much, but i see the advantages now, as i can straighten the workflow out, so anybody can jump in quicker, requirement is vscode
11:15
BAndiT1983
se6ast1an: metal_dent[m]: please check the action buttons and suggest further improvements, also everything regarding launching and debugging visualiser
11:18
BAndiT1983
pushed slight improvement for the action buttons, simplified the paths more
11:18
BAndiT1983
although i would like to have them on the left side in some tab, as status bar is rather full at the moment
11:34
mumptai
left the channel
11:34
mumptai
joined the channel
11:48
se6ast1an
will do
11:49
Bertl_zZ
changed nick to: Bertl
11:50
Bertl
morning folks!
11:50
BAndiT1983
hi
11:51
se6ast1an
good day
12:16
Triffid_Hunter
joined the channel
12:37
BAndiT1983
se6ast1an: i would suggest to use this plugin instead of action buttons, as it allows to place more tasks --> https://marketplace.visualstudio.com/items?itemName=SanaAjani.taskrunnercode
12:37
BAndiT1983
as a test have moved the build firmware command there and it worked without big changes
12:38
se6ast1an
great, will test
12:45
BAndiT1983
will upload the files first
12:46
BAndiT1983
pushed, don't know if the task can be reloaded like action buttons yet
14:36
BAndiT1983
my pickit is prepared, will quickly check if i can add a refresh button to the extension easily and then try to test ejtagproxy commands
14:47
BAndiT1983
okay, will create a pull request for the plugin, but you can also modify it locally, it's just a small fix
16:24
se6ast1an
where should we document the vscode stuff?
16:24
se6ast1an
main readme?
16:24
BAndiT1983
in the README
16:26
BAndiT1983
are you still flashing with pic32prog?
16:26
se6ast1an
yes
16:27
BAndiT1983
having problem there, it starts but breaks the process with error
16:30
BAndiT1983
https://pastebin.com/raw/Yybyti1k
16:30
se6ast1an
https://github.com/apertus-open-source-cinema/AXIOM-Remote/blob/dev/README.md
16:30
se6ast1an
never tried the pickit3 but works flawlessly with pickit2
16:31
BAndiT1983
as i only have the pickit3, there is not much choice at the moment
16:32
BAndiT1983
have IPE also, but wanted to make a simple workflow through command line and debugging in vscode, then i can ditch the IDE from the drive
16:32
BAndiT1983
and microchip doesn't make it easy to use slim tools
16:35
BAndiT1983
we should also remove the need for sudo
16:36
BAndiT1983
section "troubleshooting" shows the way, will try now, as sudo is make me feel a bit uncomfortable
16:37
BAndiT1983
looks like i have done it before, it works without sudo
16:41
BAndiT1983
found this -> https://github.com/WallaceIT/picberry, maybe i can use my odroid-C2 to flash, but the whole problem just pushes me forward to add self-programming as soon as possible
16:58
metal_dent[m]
you mean the pic32 self-programming?
16:58
se6ast1an
very good :)
16:58
se6ast1an
I assume you mean the bootloader
17:02
omar31
joined the channel
17:02
megora
joined the channel
17:03
Bertl
BAndiT1983: I'd suggest to go for pickle
17:05
Bertl
https://wiki.kewl.org/dokuwiki/projects:pickle
17:05
BAndiT1983
thanks for the tip, will check if it would give better results, already updated pic32prog to git version, but same timeout, although IPE was always flashing without problems
17:06
BAndiT1983
but if i start it again, then i will loose scripting firmware and have to flash it under win10 again
17:06
Bertl
well, you can also flash it on Linux
17:07
BAndiT1983
we have discussed it some time ago and their app is windows-only or was there some other way?
17:07
BAndiT1983
have tried to recompile the flasher, as it's C#, but they use very windows specific device discovery and i was not in the mood to rewrite it
17:08
BAndiT1983
source code of firmware and flasher are available, but it's hen/egg principle if i cannot flash the HEX file to the pickit3
17:09
Bertl
MPLAB X works on linux, no?
17:11
BAndiT1983
yes, but i want to get rid of it, IPE was okay for flashing, but is also a piece of java junk i can live without, just because microchip does not want to have openocd this whole pile has to be on the drive and only 5% are require or so
17:11
Bertl
what I meant was, you can use MPLAB to update the pickit firmware
17:12
BAndiT1983
it will rewrite it to MPLAB mode, so i have to use the old flasher for pickit3 to get it into standalone mode
17:12
Bertl
it doesn't allow you to select the scripting firmware?
17:12
Bertl
no idea, never really used it :)
17:13
BAndiT1983
tried it before, but had no luck, as it expects some other format than HEX, like .bin or something, can check again later, when i'm back home, so i can restore the custom firmware under win10
17:13
Bertl
also, why did you get a PICkit3 and not a PICkit2 as everybody else? :)
17:14
BAndiT1983
it was available and pickit2 rather rare back then
17:19
Bertl
fair enough, well, pickle works just fine
17:19
BAndiT1983
read through the docs, it is a .jar file which they use for firmware for their PM3, but pickit3 is also listed, sorry to say, but their environment is really meh
17:19
BAndiT1983
ok, will try, have also old pi1 here
17:19
Bertl
let me know if you encounter problems, I might be able to help
17:20
BAndiT1983
thanks
17:20
Bertl
no problem
17:21
BAndiT1983
have to check it after my return home, have to leave for now, will be back later
17:21
BAndiT1983
changed nick to: BAndiT1983|away
17:44
omar31
left the channel
17:44
omar31
joined the channel
19:20
metal_dent[m]
Hi, I've implemented the home button in the WB screen, can you please review?
19:38
se6ast1an
url please
19:42
aombk
left the channel
19:43
metal_dent[m]
homescreen files -> https://github.com/MetalDent/AXIOM-Remote/tree/dev/Firmware/UI/Screens
19:43
metal_dent[m]
also made some changes to whitebalance files
19:43
se6ast1an
what do you describe with a "homescreen"?
19:44
se6ast1an
currently we have two types of "screens"
19:44
se6ast1an
a menu like SettingsMenu
19:44
metal_dent[m]
pls don't go by the name ':D (I'm not good at naming)
19:45
se6ast1an
and a page like MainPage
19:45
se6ast1an
well its more a matter of structure I would say
19:46
se6ast1an
what you are working on is this task right? https://lab.apertus.org/T1172
19:46
se6ast1an
its already called sidebar there, no need to come up with a new name :)
19:46
metal_dent[m]
yes
19:46
metal_dent[m]
okay, cool!
19:48
metal_dent[m]
in this I've only implemented the home button, will add more soon
19:48
se6ast1an
great
19:48
se6ast1an
does it work in the visualizer?
19:49
metal_dent[m]
yes
19:49
se6ast1an
excellent
19:50
metal_dent[m]
except the file name any other change?
19:53
omar31
left the channel
19:53
omar98
joined the channel
19:54
se6ast1an
i am looking at the compare view currently
19:55
metal_dent[m]
okay
19:55
se6ast1an
what confuses me is where/if you actually create an instance of HomeScreen ?
19:58
se6ast1an
I dont think you do right?
19:59
metal_dent[m]
no
19:59
se6ast1an
https://github.com/MetalDent/AXIOM-Remote/blob/dev/Firmware/UI/Screens/WhiteBalanceScreen.cpp#L34 will need your attention
19:59
se6ast1an
afk for a bit
20:04
metal_dent[m]
what is the problem there? ':D
20:21
omar98
left the channel
20:21
omar98
joined the channel
20:21
omar98
left the channel
20:44
BAndiT1983|away
changed nick to: BAndiT1983
21:03
BAndiT1983
header should be in the base class
21:06
megora
left the channel
21:06
megora
joined the channel
21:07
BAndiT1983
Line 34 is really awkward, why is it there?
21:08
metal_dent[m]
umm.. it draws the home button..
21:08
BAndiT1983
remember what i've said about loose coupling? this ties even more things to the WB dialog
21:09
BAndiT1983
now you have to explain why it is calling HomeScreen and why
21:09
BAndiT1983
haven'T i mentioned that you should use a ButtonBar?
21:10
metal_dent[m]
as I told se6ast1an pls don't focus on the name, I'll change it
21:53
BAndiT1983
it's not about the name, the structure is not what i would expect
22:49
BAndiT1983
se6ast1an: metal_dent[m]: alright, now i have time for deeper explanations, to not clutter up the main channel i will create a gdoc and share it with you, then we can edit it in parallel and discuss things step by step
22:50
se6ast1an
Great
22:50
se6ast1an
Heading off to bed for today, good night
22:53
BAndiT1983
good night
22:54
BAndiT1983
invite sent, will add some info, but will also not be that long up for today
22:55
megora
left the channel
23:32
BAndiT1983
off for today
23:32
BAndiT1983
changed nick to: BAndiT1983|away