Interestingly, I get a different result in my telnet session if I try to program the roach in python via katcp:

#client-connected 172.23.1.140:52663
#log debug 441565057138 roach.mba terminating\_subprocesses\_matching\_type\_1 #log debug 441565057138 roach.mba 0\_terminated\_processes\_need\_to\_be\_collected #log trace 441565057138 roach.mba attempting\_to\_terminate\_child\_process\_borph #log debug 441565057138 roach.mba 0\_terminated\_processes\_need\_to\_be\_collected
#log debug 441565057138 roach.mba system\_deprogrammed
#log debug 441565057138 roach.mba attempting\_to\_program\_/boffiles/mba15_obs2d_2014_Jan_31_1052.bof #log error 441565088393 roach.mba timed\_out\_while\_waiting\_for\_fpga\_status\_to\_change:\_No\_such\_file\_or\_directory #log warn 441565088394 roach.mba timed\_out\_while\_waiting\_for\_status\_register,\_but\_returning\_ok\_because\_ioreg\_exists #log warn 441565088394 roach.mba collected\_process\_id\_555\_with\_status\_0x4700
#log warn 441565088397 roach.mba borph\_process\_exited
#log warn 441565088398 roach.mba borph\_exited,\_but\_no\_image\_to\_clear
#log fatal 441565088399 roach.mba unable\_to\_program\_gateware

On 02/24/2015 11:03 AM, Paul Marganian wrote:
Thanks Marc,
Good suggestion. I'd hat the log level set to debug, but hadn't thought of lowering it. I get a lot of output, most of which I don't quite understand (see below). At this point, I probably should add that we are running a tcpborphserver with a mode we created for our own system, 'mba':


?progdev mba15_obs2d_2014_Jan_31_1052.bof
#log debug 151615749184 roach.mba terminating\_subprocesses\_matching\_type\_1 #log debug 151615749184 roach.mba 0\_terminated\_processes\_need\_to\_be\_collected #log trace 151615749184 roach.mba attempting\_to\_terminate\_child\_process\_borph #log debug 151615749184 roach.mba 0\_terminated\_processes\_need\_to\_be\_collected
#log debug 151615749184 roach.mba system\_deprogrammed
#log debug 151615749184 roach.mba attempting\_to\_program\_/boffiles/mba15_obs2d_2014_Jan_31_1052.bof #log error 151615780430 roach.mba timed\_out\_while\_waiting\_for\_fpga\_status\_to\_change:\_No\_such\_file\_or\_directory #log warn 151615780430 roach.mba timed\_out\_while\_waiting\_for\_status\_register,\_but\_returning\_ok\_because\_ioreg\_exists
#log trace 151615780430 roach.mba inserted\_new\_process\_watch\_at\_0
#log debug 151615780430 roach.mba opened\_directory\_/proc/537/hw/ioreg
#log trace 151615780431 roach.mba not\_registering\_entry\_/proc/537/hw/ioreg/. #log trace 151615780431 roach.mba not\_registering\_entry\_/proc/537/hw/ioreg/.. #log trace 151615780431 roach.mba opened\_/proc/537/hw/ioreg/stb_en\_as\_13
#log trace 151615780431 roach.mba registered\_stb_en
#log trace 151615780431 roach.mba opened\_/proc/537/hw/ioreg/start_snapAdc\_as\_14
#log trace 151615780431 roach.mba registered\_start_snapAdc
#log trace 151615780431 roach.mba opened\_/proc/537/hw/ioreg/startSnap\_as\_15
#log trace 151615780431 roach.mba registered\_startSnap
#log trace 151615780432 roach.mba opened\_/proc/537/hw/ioreg/startDAC\_as\_16
#log trace 151615780432 roach.mba registered\_startDAC
#log trace 151615780432 roach.mba opened\_/proc/537/hw/ioreg/startAccumulator\_as\_17
#log trace 151615780432 roach.mba registered\_startAccumulator
#log trace 151615780432 roach.mba opened\_/proc/537/hw/ioreg/start\_as\_18
#log trace 151615780432 roach.mba registered\_start
#log trace 151615780432 roach.mba opened\_/proc/537/hw/ioreg/snapqdr_ctrl\_as\_19
#log trace 151615780432 roach.mba registered\_snapqdr_ctrl
#log trace 151615780432 roach.mba opened\_/proc/537/hw/ioreg/snapqdr_addr\_as\_20
#log trace 151615780432 roach.mba registered\_snapqdr_addr
#log trace 151615780432 roach.mba opened\_/proc/537/hw/ioreg/snapPhase_ctrl\_as\_21
#log trace 151615780432 roach.mba registered\_snapPhase_ctrl
#log trace 151615780433 roach.mba opened\_/proc/537/hw/ioreg/snapPhase_bram\_as\_22
#log trace 151615780433 roach.mba registered\_snapPhase_bram
#log trace 151615780433 roach.mba opened\_/proc/537/hw/ioreg/snapPhase_addr\_as\_23
#log trace 151615780433 roach.mba registered\_snapPhase_addr
#log trace 151615780433 roach.mba opened\_/proc/537/hw/ioreg/snapAdc_ctrl\_as\_24
#log trace 151615780433 roach.mba registered\_snapAdc_ctrl
#log trace 151615780433 roach.mba opened\_/proc/537/hw/ioreg/snapAdc_bram_msb\_as\_25
#log trace 151615780433 roach.mba registered\_snapAdc_bram_msb
#log trace 151615780433 roach.mba opened\_/proc/537/hw/ioreg/snapAdc_bram_lsb\_as\_26
#log trace 151615780433 roach.mba registered\_snapAdc_bram_lsb
#log trace 151615780433 roach.mba opened\_/proc/537/hw/ioreg/snapAdc_addr\_as\_27
#log trace 151615780433 roach.mba registered\_snapAdc_addr
#log trace 151615780434 roach.mba opened\_/proc/537/hw/ioreg/sim_flux_ttl_rollover_cntr\_as\_28
#log trace 151615780434 roach.mba registered\_sim_flux_ttl_rollover_cntr
#log trace 151615780434 roach.mba opened\_/proc/537/hw/ioreg/sim_flux_ttl_flux_ttl_cntr\_as\_29
#log trace 151615780434 roach.mba registered\_sim_flux_ttl_flux_ttl_cntr
#log trace 151615780434 roach.mba opened\_/proc/537/hw/ioreg/sim_flux_reg\_as\_30
#log trace 151615780434 roach.mba registered\_sim_flux_reg
#log trace 151615780434 roach.mba opened\_/proc/537/hw/ioreg/regs\_as\_31
#log trace 151615780434 roach.mba registered\_regs
#log trace 151615780434 roach.mba opened\_/proc/537/hw/ioreg/load_bins\_as\_32
#log trace 151615780435 roach.mba registered\_load_bins
#log trace 151615780435 roach.mba opened\_/proc/537/hw/ioreg/if_switch\_as\_33
#log trace 151615780435 roach.mba registered\_if_switch
#log trace 151615780435 roach.mba opened\_/proc/537/hw/ioreg/dmd_sync_cntr_reg\_as\_34
#log trace 151615780435 roach.mba registered\_dmd_sync_cntr_reg
#log trace 151615780435 roach.mba opened\_/proc/537/hw/ioreg/dmd_startDemod\_as\_35
#log trace 151615780435 roach.mba registered\_dmd_startDemod
#log trace 151615780435 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR1_load_coeff\_as\_36 #log trace 151615780435 roach.mba registered\_dmd_sincos_fir_bram_FIR1_load_coeff #log trace 151615780435 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR1_b8b9\_as\_37 #log trace 151615780435 roach.mba registered\_dmd_sincos_fir_bram_FIR1_b8b9 #log trace 151615780436 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR1_b6b7\_as\_38 #log trace 151615780436 roach.mba registered\_dmd_sincos_fir_bram_FIR1_b6b7 #log trace 151615780436 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR1_b4b5\_as\_39 #log trace 151615780436 roach.mba registered\_dmd_sincos_fir_bram_FIR1_b4b5 #log trace 151615780436 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR1_b2b3\_as\_40 #log trace 151615780436 roach.mba registered\_dmd_sincos_fir_bram_FIR1_b2b3 #log trace 151615780436 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR1_b24b25\_as\_41 #log trace 151615780436 roach.mba registered\_dmd_sincos_fir_bram_FIR1_b24b25 #log trace 151615780437 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR1_b22b23\_as\_42 #log trace 151615780437 roach.mba registered\_dmd_sincos_fir_bram_FIR1_b22b23 #log trace 151615780437 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR1_b20b21\_as\_43 #log trace 151615780437 roach.mba registered\_dmd_sincos_fir_bram_FIR1_b20b21 #log trace 151615780437 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR1_b18b19\_as\_44 #log trace 151615780437 roach.mba registered\_dmd_sincos_fir_bram_FIR1_b18b19 #log trace 151615780437 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR1_b16b17\_as\_45 #log trace 151615780437 roach.mba registered\_dmd_sincos_fir_bram_FIR1_b16b17 #log trace 151615780437 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR1_b14b15\_as\_46 #log trace 151615780437 roach.mba registered\_dmd_sincos_fir_bram_FIR1_b14b15 #log trace 151615780437 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR1_b12b13\_as\_47 #log trace 151615780438 roach.mba registered\_dmd_sincos_fir_bram_FIR1_b12b13 #log trace 151615780438 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR1_b10b11\_as\_48 #log trace 151615780438 roach.mba registered\_dmd_sincos_fir_bram_FIR1_b10b11 #log trace 151615780438 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR1_b0b1\_as\_49 #log trace 151615780438 roach.mba registered\_dmd_sincos_fir_bram_FIR1_b0b1 #log trace 151615780438 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR_load_coeff\_as\_50 #log trace 151615780438 roach.mba registered\_dmd_sincos_fir_bram_FIR_load_coeff #log trace 151615780438 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR_b8b9\_as\_51 #log trace 151615780438 roach.mba registered\_dmd_sincos_fir_bram_FIR_b8b9 #log trace 151615780438 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR_b6b7\_as\_52 #log trace 151615780439 roach.mba registered\_dmd_sincos_fir_bram_FIR_b6b7 #log trace 151615780439 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR_b4b5\_as\_53 #log trace 151615780439 roach.mba registered\_dmd_sincos_fir_bram_FIR_b4b5 #log trace 151615780439 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR_b2b3\_as\_54 #log trace 151615780439 roach.mba registered\_dmd_sincos_fir_bram_FIR_b2b3 #log trace 151615780439 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR_b24b25\_as\_55 #log trace 151615780439 roach.mba registered\_dmd_sincos_fir_bram_FIR_b24b25 #log trace 151615780439 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR_b22b23\_as\_56 #log trace 151615780440 roach.mba registered\_dmd_sincos_fir_bram_FIR_b22b23 #log trace 151615780440 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR_b20b21\_as\_57 #log trace 151615780440 roach.mba registered\_dmd_sincos_fir_bram_FIR_b20b21 #log trace 151615780440 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR_b18b19\_as\_58 #log trace 151615780440 roach.mba registered\_dmd_sincos_fir_bram_FIR_b18b19 #log trace 151615780440 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR_b16b17\_as\_59 #log trace 151615780440 roach.mba registered\_dmd_sincos_fir_bram_FIR_b16b17 #log trace 151615780440 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR_b14b15\_as\_60 #log trace 151615780440 roach.mba registered\_dmd_sincos_fir_bram_FIR_b14b15 #log trace 151615780440 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR_b12b13\_as\_61 #log trace 151615780441 roach.mba registered\_dmd_sincos_fir_bram_FIR_b12b13 #log trace 151615780441 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR_b10b11\_as\_62 #log trace 151615780441 roach.mba registered\_dmd_sincos_fir_bram_FIR_b10b11 #log trace 151615780441 roach.mba opened\_/proc/537/hw/ioreg/dmd_sincos_fir_bram_FIR_b0b1\_as\_63 #log trace 151615780441 roach.mba registered\_dmd_sincos_fir_bram_FIR_b0b1 #log trace 151615780441 roach.mba opened\_/proc/537/hw/ioreg/dmd_num_frames\_as\_64
#log trace 151615780441 roach.mba registered\_dmd_num_frames
#log trace 151615780441 roach.mba opened\_/proc/537/hw/ioreg/dmd_num_coadds_pwr\_as\_65
#log trace 151615780441 roach.mba registered\_dmd_num_coadds_pwr
#log trace 151615780441 roach.mba opened\_/proc/537/hw/ioreg/dmd_demodqdr_ctrl\_as\_66
#log trace 151615780441 roach.mba registered\_dmd_demodqdr_ctrl
#log trace 151615780441 roach.mba opened\_/proc/537/hw/ioreg/dmd_demodqdr_addr\_as\_67
#log trace 151615780442 roach.mba registered\_dmd_demodqdr_addr
#log trace 151615780442 roach.mba opened\_/proc/537/hw/ioreg/dmd_channel_select\_as\_68
#log trace 151615780442 roach.mba registered\_dmd_channel_select
#log trace 151615780442 roach.mba opened\_/proc/537/hw/ioreg/dmd_carrier_freq_mux_load_ch_freqs\_as\_69 #log trace 151615780442 roach.mba registered\_dmd_carrier_freq_mux_load_ch_freqs #log trace 151615780442 roach.mba opened\_/proc/537/hw/ioreg/dmd_carrier_freq_mux_ch_freqs\_as\_70 #log trace 151615780442 roach.mba registered\_dmd_carrier_freq_mux_ch_freqs #log trace 151615780442 roach.mba opened\_/proc/537/hw/ioreg/dmd_blank_period\_as\_71
#log trace 151615780442 roach.mba registered\_dmd_blank_period
#log trace 151615780442 roach.mba opened\_/proc/537/hw/ioreg/dmd_arm\_as\_72
#log trace 151615780443 roach.mba registered\_dmd_arm
#log trace 151615780443 roach.mba opened\_/proc/537/hw/ioreg/dmd_PingPong_switch_reg\_as\_73
#log trace 151615780443 roach.mba registered\_dmd_PingPong_switch_reg
#log trace 151615780443 roach.mba opened\_/proc/537/hw/ioreg/dmd_PingPong_switch_cnt_reg\_as\_74
#log trace 151615780443 roach.mba registered\_dmd_PingPong_switch_cnt_reg
#log trace 151615780443 roach.mba opened\_/proc/537/hw/ioreg/dmd_PingPong_Shared_BRAM1\_as\_75
#log trace 151615780443 roach.mba registered\_dmd_PingPong_Shared_BRAM1
#log trace 151615780443 roach.mba opened\_/proc/537/hw/ioreg/dmd_PingPong_Shared_BRAM\_as\_76
#log trace 151615780443 roach.mba registered\_dmd_PingPong_Shared_BRAM
#log trace 151615780444 roach.mba opened\_/proc/537/hw/ioreg/ch_we\_as\_77
#log trace 151615780444 roach.mba registered\_ch_we
#log trace 151615780444 roach.mba opened\_/proc/537/hw/ioreg/centerIQ_load_centers\_as\_78
#log trace 151615780444 roach.mba registered\_centerIQ_load_centers
#log trace 151615780444 roach.mba opened\_/proc/537/hw/ioreg/centerIQ_centers\_as\_79
#log trace 151615780444 roach.mba registered\_centerIQ_centers
#log trace 151615780444 roach.mba opened\_/proc/537/hw/ioreg/bins\_as\_80
#log trace 151615780444 roach.mba registered\_bins
#log trace 151615780444 roach.mba opened\_/proc/537/hw/ioreg/avgIQ_ctrl\_as\_81
#log trace 151615780444 roach.mba registered\_avgIQ_ctrl
#log trace 151615780444 roach.mba opened\_/proc/537/hw/ioreg/avgIQ_bram\_as\_82
#log trace 151615780445 roach.mba registered\_avgIQ_bram
#log trace 151615780445 roach.mba opened\_/proc/537/hw/ioreg/avgIQ_addr\_as\_83
#log trace 151615780445 roach.mba registered\_avgIQ_addr
#log trace 151615780445 roach.mba opened\_/proc/537/hw/ioreg/SWAT_LE\_as\_84
#log trace 151615780445 roach.mba registered\_SWAT_LE
#log trace 151615780445 roach.mba opened\_/proc/537/hw/ioreg/SER_DI\_as\_85
#log trace 151615780445 roach.mba registered\_SER_DI
#log trace 151615780445 roach.mba opened\_/proc/537/hw/ioreg/LO_SLE\_as\_86
#log trace 151615780445 roach.mba registered\_LO_SLE
#log trace 151615780445 roach.mba opened\_/proc/537/hw/ioreg/DRAM_LUT_rd_valid\_as\_87
#log trace 151615780445 roach.mba registered\_DRAM_LUT_rd_valid
#log trace 151615780446 roach.mba opened\_/proc/537/hw/ioreg/qdr1_ctrl\_as\_88
#log trace 151615780446 roach.mba registered\_qdr1_ctrl
#log trace 151615780446 roach.mba opened\_/proc/537/hw/ioreg/qdr0_ctrl\_as\_89
#log trace 151615780446 roach.mba registered\_qdr0_ctrl
#log trace 151615780446 roach.mba opened\_/proc/537/hw/ioreg/qdr1_memory\_as\_90
#log trace 151615780446 roach.mba registered\_qdr1_memory
#log trace 151615780446 roach.mba opened\_/proc/537/hw/ioreg/qdr0_memory\_as\_91
#log trace 151615780446 roach.mba registered\_qdr0_memory
#log trace 151615780446 roach.mba opened\_/proc/537/hw/ioreg/dram_memory\_as\_92
#log trace 151615780447 roach.mba registered\_dram_memory
#log trace 151615780447 roach.mba opened\_/proc/537/hw/ioreg/dram_controller\_as\_93
#log trace 151615780447 roach.mba registered\_dram_controller
#log trace 151615780447 roach.mba opened\_/proc/537/hw/ioreg/sys_clkcounter\_as\_94
#log trace 151615780447 roach.mba registered\_sys_clkcounter
#log trace 151615780447 roach.mba opened\_/proc/537/hw/ioreg/sys_scratchpad\_as\_95
#log trace 151615780447 roach.mba registered\_sys_scratchpad
#log trace 151615780447 roach.mba opened\_/proc/537/hw/ioreg/sys_rev_rcs\_as\_96
#log trace 151615780447 roach.mba registered\_sys_rev_rcs
#log trace 151615780447 roach.mba opened\_/proc/537/hw/ioreg/sys_rev\_as\_97
#log trace 151615780447 roach.mba registered\_sys_rev
#log trace 151615780447 roach.mba opened\_/proc/537/hw/ioreg/sys_board_id\_as\_98
#log trace 151615780448 roach.mba registered\_sys_board_id
#log debug 151615780448 roach.mba gathered\_86\_entries
!progdev ok 537

On 02/24/2015 10:55 AM, Marc Welz wrote:

If you telnet to port 7147 and then type

?log-level trace
followed by
?progdev "something"

where "something" is the file you want to have programmed, what happens ?


On Tue, Feb 24, 2015 at 2:28 PM, Paul Marganian <pmarg...@nrao.edu <mailto:pmarg...@nrao.edu>> wrote:

    Thanks Marc,
    I tracked down where it is being called from linux startup, and
    it didn't look like any options were being passed, so I ignored
    this issue for a while.  I then tried it once with the -b set to
    /boffiles, and that made no difference.  I wasn't sure what the
    other option values should be other then the defaults.
    Paul

    On 02/24/2015 09:25 AM, Marc Welz wrote:


    On Tue, Feb 24, 2015 at 12:22 PM, Paul Marganian
    <pmarg...@nrao.edu <mailto:pmarg...@nrao.edu>> wrote:

        Hi everyone,
        I've recently run in to a problem with tcpborphserver2
        running on Roach 1.  In the past, I've been able to debug
        and develop simply by running this program interactively,
        getting feedback from print statements.
        Recently, I've seen that when I run this program from the
        command line, the 'progdev' command fails.  Has anyone else
        seen this behavior?
        thanks
        Paul Marganian


    Are you running it with the correct options, in particular the
    one which points it at the correct bof file directory  ?

    regards

    marc





Reply via email to