Current Server Time: 00:01 (Central Europe)

#apertus IRC Channel Logs

2020/11/24

Timezone: UTC


23:00
anuejn
ah nice now it seems to have worked
23:00
anuejn
:)
23:00
Bertl
great!
23:01
anuejn
now what do I have to do to route the jtag to the southern plugin module?
23:01
Bertl
there are two steps for that
23:01
Bertl
first you need to verify (or ensure) that your pic can switch the jtag port
23:02
Bertl
and then you need to program the jtag pass through bitstream into the routing fabric
23:03
anuejn
how do I do that
23:06
Bertl
give me a minute to boot up the remote setup and see what commands you need for that
23:09
anuejn
okay, thanks
23:16
Bertl
okay, make sure that the driver is unloaded (i.e. doesn't claim the addresses)
23:17
Bertl
then run axiom_rf_sel.py A and axiom_pic_jtag_id.py
23:17
Bertl
note the traceid
23:19
Bertl
then do 'i2c2_set 0x4F 1' and run the axiom_pic_jtag_id.py again
23:20
Bertl
the traceid should now be zero
23:20
anuejn
it is not
23:20
Bertl
it's the same as before, right?
23:21
anuejn
yup
23:21
Bertl
okay, that means your PIC code is too old and you need to update it
23:22
Bertl
run axiom_prep_icsp.sh
23:24
anuejn
that worked
23:25
Bertl
http://vserver.13thfloor.at/Stuff/AXIOM/BETA/ICSP/i2c_slave.hex
23:26
Bertl
(or grab the .c and build the hex yourself :)
23:26
anuejn
I am totally fine with the hex file you supplied
23:27
Bertl
make sure that the RFW side is selected
23:28
Bertl
use 'axiom_icsp_id.py A' to verify that the PIC can be seen
23:29
mumptai
left the channel
23:29
anuejn
seems like it can be seen
23:30
Bertl
okay, great use 'axiom_icsp_prog.py A i2c_slave.hex' to update the PIC
23:38
anuejn
that caused the camera to hand
23:38
anuejn
*hang
23:39
anuejn
there is still heartbeat but it doesnt respond via serial or ssh
23:40
Bertl
that's at least unusual
23:41
Bertl
anya
23:41
Bertl
anyway
23:41
Bertl
reset/reboot and try again
23:43
anuejn
now `axiom_icsp_id.py A` hangs too
23:43
Bertl
did you run the icsp_prep?
23:44
anuejn
ah no
23:45
anuejn
hm... I guess I have some more problems with the camera
23:45
anuejn
It just freezed without any particular reason
23:46
Bertl
do you have enough power?
23:46
anuejn
maybe I sould upgrade my power supply to something propper
23:46
anuejn
5V@3A currently
23:46
Bertl
that should be fine at least without sensor running
23:46
anuejn
the sensor is running
23:46
anuejn
I could stop that
23:46
Bertl
why did you start that?
23:47
anuejn
do you have a link to the powersupply you normally ship with the camera
23:47
anuejn
It currently autostarts
23:47
Bertl
okay, make sure to disable that then
23:47
Bertl
and no, I do not have the link at hand, but se6ast1an certainly does
23:51
anuejn
why does it hang the camera so badly if I try to access the icsp without it being "prepped"?
23:51
Bertl
several reasons actually
23:52
Bertl
first, the prep_icsp loads a special firmware which allows for the ICSP protocol on the i2c bus
23:52
Bertl
so your gateware registers (AXI stuff) get replaced
23:53
Bertl
then it messes with the PICs and that in turn messes with the RFs and at least RFE is used for sensor control
23:53
anuejn
ah okay
23:54
anuejn
the update seems to have worked :)
23:54
Bertl
great, now repeat the 0x4F 1 test to verify
23:54
anuejn
yup
23:55
anuejn
now it is all zeroes
23:55
Bertl
use 'i2c2_set 0x4F 0' to return to the RF
23:55
Bertl
check the ID should be the same as before
23:56
anuejn
it is
23:57
Bertl
okay, great, what MachXO2 do you have on your board?
23:58
anuejn
MXO2-2000HC
00:02
Bertl
http://vserver.13thfloor.at/Stuff/AXIOM/BETA/pass_jtag/
00:02
Bertl
use the Makefile.2000 and link the pass.prj.2000 to pass.prj
00:03
Bertl
(or use nMigen to do the same, i.e. pass through a bunch of IO signals :)
00:04
anuejn
ah you mean on the camera?
00:04
anuejn
or on the usb3 plugin?
00:04
Bertl
that's the bitstream for the RFW
00:05
anuejn
ah there I pesumably have a MXO2-1200HC
00:05
Bertl
well, what did the axiom_pic_jtag_id.py report? :)
00:06
anuejn
MXO2-1200HC
00:07
Bertl
then similar but with 1200
00:17
anuejn
I will go to bed now
00:17
Bertl
okay, have a good night!
00:17
anuejn
I dont feel like fighting some more diamond issues
00:17
anuejn
(due to version missmatch)
00:17
anuejn
you too!
04:18
Bertl
off to bed now ... have a good one everyone!
04:18
Bertl
changed nick to: Bertl_zZ
05:50
BAndiT1983|away
changed nick to: BAndiT1983
12:42
BAndiT1983
changed nick to: BAndiT1983|away
13:09
lexano
left the channel
13:09
Bertl_zZ
changed nick to: Bertl
13:09
Bertl
morning folks!
13:13
se6ast1an
good day
13:15
lexano
joined the channel
14:24
RexOrCine
joined the channel
15:00
preetimenghwani[
left the channel
16:47
BAndiT1983|away
changed nick to: BAndiT1983
18:53
Bertl
off for now ... bbl
18:53
Bertl
changed nick to: Bertl_oO
18:59
Umori
left the channel
19:00
Umori
joined the channel
19:02
RexOrCine
left the channel
19:16
mumptai
joined the channel
21:04
comradekingu
left the channel
21:07
Spirit532
left the channel
21:11
Spirit532
joined the channel
21:48
BAndiT1983
changed nick to: BAndiT1983|away
22:57
Spirit532
left the channel
22:57
Spirit532
joined the channel