Current Server Time: 10:56 (Central Europe)

#apertus IRC Channel Logs

2020/04/24

Timezone: UTC


00:00
Spirit532_
joined the channel
00:00
Spirit532
left the channel
00:00
Spirit532_
changed nick to: Spirit532
00:06
Spirit532
left the channel
00:06
Spirit532
joined the channel
01:12
futarisIRCcloud
left the channel
03:14
Bertl
off to bed now ... have a good one everyone!
03:14
Bertl
changed nick to: Bertl_zZ
04:28
futarisIRCcloud
joined the channel
05:19
BAndiT1983|away
changed nick to: BAndiT1983
06:03
mumptai
joined the channel
06:43
se6ast1an
thanks BAndiT1983, debugging up and running for me as well
06:43
se6ast1an
did you experiment with the pickit and attached debugging already as well?
06: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
06: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
06:51
BAndiT1983
platformIO plugin looks like it could help, but needs evaluation first -> https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide
06:52
Spirit532
left the channel
06:53
Spirit532
joined the channel
07: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
07:16
se6ast1an
great
08:30
BAndiT1983
se6ast1an: you have pickit2 right?
08:34
se6ast1an
yes
08:37
BAndiT1983
then you can do it a bit easier -> https://github.com/sergev/ejtagproxy
08:37
BAndiT1983
i have to find a method to write the scripting firmware to my pickit3
08:38
BAndiT1983
cannot write a config and test it, until i have done it
08: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
08:48
BAndiT1983
se6ast1an: my vscode can't find your action buttons, where have you set the up?
08:48
BAndiT1983
*them
08:53
se6ast1an
https://marketplace.visualstudio.com/items?itemName=seunlanlege.action-buttons
08:53
BAndiT1983
i have the plugin, but it can't find any, do i have to open süecific folder?
08:53
BAndiT1983
*specific
08:56
se6ast1an
https://pastebin.com/FXU7GhPc
09: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
09:07
BAndiT1983
btw. your aboslute path can be replaced with ${workspaceFolder}, also this settings can be carried with the project in .vscode/settings.json
09:08
se6ast1an
good idea yes
09:08
se6ast1an
please push
09: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
09:11
BAndiT1983
committed
09:18
se6ast1an
thanks
09:18
se6ast1an
created https://lab.apertus.org/T1186 so we have a central page for the hardware debugging
09:20
BAndiT1983
ok, will update it as soon as i have some insight
09:25
metal_dent[m]
BAndiT1983: Hi, have you also created the c_cpp_properties.json file in .vscode dir?
09:32
BAndiT1983
yes
09:32
BAndiT1983
do you need it?
09:38
BAndiT1983
changed nick to: BAndiT1983|away
09:44
metal_dent[m]
no that I have as you just pushed but i need the compile_commands.json file
09:46
BAndiT1983|away
changed nick to: BAndiT1983
09: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
10:15
BAndiT1983
se6ast1an: metal_dent[m]: please check the action buttons and suggest further improvements, also everything regarding launching and debugging visualiser
10:18
BAndiT1983
pushed slight improvement for the action buttons, simplified the paths more
10: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
10:34
mumptai
left the channel
10:34
mumptai
joined the channel
10:48
se6ast1an
will do
10:49
Bertl_zZ
changed nick to: Bertl
10:50
Bertl
morning folks!
10:50
BAndiT1983
hi
10:51
se6ast1an
good day
11:16
Triffid_Hunter
joined the channel
11: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
11:37
BAndiT1983
as a test have moved the build firmware command there and it worked without big changes
11:38
se6ast1an
great, will test
11:45
BAndiT1983
will upload the files first
11:46
BAndiT1983
pushed, don't know if the task can be reloaded like action buttons yet
13: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
13:47
BAndiT1983
okay, will create a pull request for the plugin, but you can also modify it locally, it's just a small fix
15:24
se6ast1an
where should we document the vscode stuff?
15:24
se6ast1an
main readme?
15:24
BAndiT1983
in the README
15:26
BAndiT1983
are you still flashing with pic32prog?
15:26
se6ast1an
yes
15:27
BAndiT1983
having problem there, it starts but breaks the process with error
15:30
BAndiT1983
https://pastebin.com/raw/Yybyti1k
15:30
se6ast1an
https://github.com/apertus-open-source-cinema/AXIOM-Remote/blob/dev/README.md
15:30
se6ast1an
never tried the pickit3 but works flawlessly with pickit2
15:31
BAndiT1983
as i only have the pickit3, there is not much choice at the moment
15: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
15:32
BAndiT1983
and microchip doesn't make it easy to use slim tools
15:35
BAndiT1983
we should also remove the need for sudo
15:36
BAndiT1983
section "troubleshooting" shows the way, will try now, as sudo is make me feel a bit uncomfortable
15:37
BAndiT1983
looks like i have done it before, it works without sudo
15: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
15:58
metal_dent[m]
you mean the pic32 self-programming?
15:58
se6ast1an
very good :)
15:58
se6ast1an
I assume you mean the bootloader
16:02
omar31
joined the channel
16:02
megora
joined the channel
16:03
Bertl
BAndiT1983: I'd suggest to go for pickle
16:05
Bertl
https://wiki.kewl.org/dokuwiki/projects:pickle
16: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
16:06
BAndiT1983
but if i start it again, then i will loose scripting firmware and have to flash it under win10 again
16:06
Bertl
well, you can also flash it on Linux
16:07
BAndiT1983
we have discussed it some time ago and their app is windows-only or was there some other way?
16: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
16: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
16:09
Bertl
MPLAB X works on linux, no?
16: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
16:11
Bertl
what I meant was, you can use MPLAB to update the pickit firmware
16: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
16:12
Bertl
it doesn't allow you to select the scripting firmware?
16:12
Bertl
no idea, never really used it :)
16: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
16:13
Bertl
also, why did you get a PICkit3 and not a PICkit2 as everybody else? :)
16:14
BAndiT1983
it was available and pickit2 rather rare back then
16:19
Bertl
fair enough, well, pickle works just fine
16: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
16:19
BAndiT1983
ok, will try, have also old pi1 here
16:19
Bertl
let me know if you encounter problems, I might be able to help
16:20
BAndiT1983
thanks
16:20
Bertl
no problem
16:21
BAndiT1983
have to check it after my return home, have to leave for now, will be back later
16:21
BAndiT1983
changed nick to: BAndiT1983|away
16:44
omar31
left the channel
16:44
omar31
joined the channel
18:20
metal_dent[m]
Hi, I've implemented the home button in the WB screen, can you please review?
18:38
se6ast1an
url please
18:42
aombk
left the channel
18:43
metal_dent[m]
homescreen files -> https://github.com/MetalDent/AXIOM-Remote/tree/dev/Firmware/UI/Screens
18:43
metal_dent[m]
also made some changes to whitebalance files
18:43
se6ast1an
what do you describe with a "homescreen"?
18:44
se6ast1an
currently we have two types of "screens"
18:44
se6ast1an
a menu like SettingsMenu
18:44
metal_dent[m]
pls don't go by the name ':D (I'm not good at naming)
18:45
se6ast1an
and a page like MainPage
18:45
se6ast1an
well its more a matter of structure I would say
18:46
se6ast1an
what you are working on is this task right? https://lab.apertus.org/T1172
18:46
se6ast1an
its already called sidebar there, no need to come up with a new name :)
18:46
metal_dent[m]
yes
18:46
metal_dent[m]
okay, cool!
18:48
metal_dent[m]
in this I've only implemented the home button, will add more soon
18:48
se6ast1an
great
18:48
se6ast1an
does it work in the visualizer?
18:49
metal_dent[m]
yes
18:49
se6ast1an
excellent
18:50
metal_dent[m]
except the file name any other change?
18:53
omar31
left the channel
18:53
omar98
joined the channel
18:54
se6ast1an
i am looking at the compare view currently
18:55
metal_dent[m]
okay
18:55
se6ast1an
what confuses me is where/if you actually create an instance of HomeScreen ?
18:58
se6ast1an
I dont think you do right?
18:59
metal_dent[m]
no
18:59
se6ast1an
https://github.com/MetalDent/AXIOM-Remote/blob/dev/Firmware/UI/Screens/WhiteBalanceScreen.cpp#L34 will need your attention
18:59
se6ast1an
afk for a bit
19:04
metal_dent[m]
what is the problem there? ':D
19:21
omar98
left the channel
19:21
omar98
joined the channel
19:21
omar98
left the channel
19:44
BAndiT1983|away
changed nick to: BAndiT1983
20:03
BAndiT1983
header should be in the base class
20:06
megora
left the channel
20:06
megora
joined the channel
20:07
BAndiT1983
Line 34 is really awkward, why is it there?
20:08
metal_dent[m]
umm.. it draws the home button..
20:08
BAndiT1983
remember what i've said about loose coupling? this ties even more things to the WB dialog
20:09
BAndiT1983
now you have to explain why it is calling HomeScreen and why
20:09
BAndiT1983
haven'T i mentioned that you should use a ButtonBar?
20:10
metal_dent[m]
as I told se6ast1an pls don't focus on the name, I'll change it
20:53
BAndiT1983
it's not about the name, the structure is not what i would expect
21: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
21:50
se6ast1an
Great
21:50
se6ast1an
Heading off to bed for today, good night
21:53
BAndiT1983
good night
21:54
BAndiT1983
invite sent, will add some info, but will also not be that long up for today
21:55
megora
left the channel
22:32
BAndiT1983
off for today
22:32
BAndiT1983
changed nick to: BAndiT1983|away