Skip to content

Commit 533505a

Browse files
authored
Merge pull request #52 from josevcm/develop
Add pending DSL devices
2 parents 30ee028 + 95750fb commit 533505a

File tree

6 files changed

+117
-4
lines changed

6 files changed

+117
-4
lines changed

.github/workflows/cmake-ubuntu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
push:
55
tags:
66
- '*' # any tag
7-
branches:
8-
- master
7+
# branches:
8+
# - master
99

1010
jobs:
1111
build:

.github/workflows/cmake-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
push:
55
tags:
66
- '*' # any tag
7-
branches:
8-
- master
7+
# branches:
8+
# - master
99

1010
jobs:
1111
build:

dat/firmware/DSLogicPlus-pgl12-2.bin

518 KB
Binary file not shown.
518 KB
Binary file not shown.

dat/firmware/DSLogicU2Basic-pgl12.bin

518 KB
Binary file not shown.

src/nfc-lib/lib-hw/hw-logic/src/main/cpp/DSLogicInternal.h

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,6 +1162,119 @@ static const dsl_profile dsl_profiles[] = {
11621162
.quarter_samplerate = DSL_MHZ(400), // quarter_samplerate
11631163
},
11641164
},
1165+
{
1166+
0x2A0E,
1167+
0x0031,
1168+
LIBUSB_SPEED_HIGH,
1169+
"DreamSourceLab",
1170+
"DSLogic U2Basic",
1171+
nullptr,
1172+
"DSLogicU2Basic.fw",
1173+
"DSLogicU2Basic-pgl12.bin",
1174+
"DSLogicU2Basic-pgl12.bin",
1175+
.dev_caps {
1176+
.mode_caps = CAPS_MODE_LOGIC, // mode_caps
1177+
.feature_caps = CAPS_FEATURE_VTH | CAPS_FEATURE_BUF | CAPS_FEATURE_MAX25_VTH | CAPS_FEATURE_SECURITY, // feature_caps
1178+
.channels = DSL_CH(DSLogicDevice::DSL_STREAM20x16) |
1179+
DSL_CH(DSLogicDevice::DSL_STREAM25x12) |
1180+
DSL_CH(DSLogicDevice::DSL_STREAM50x6) |
1181+
DSL_CH(DSLogicDevice::DSL_STREAM100x3) |
1182+
DSL_CH(DSLogicDevice::DSL_BUFFER100x16), // channels
1183+
.total_ch_num = 16, // total_ch_num
1184+
.hw_depth = DSL_MB(64), // hw_depth
1185+
.dso_depth = 0, // dso_depth
1186+
.intest_channel = DSLogicDevice::DSL_BUFFER100x16, // intest_channel
1187+
.vdivs = nullptr, // vdivs
1188+
.samplerates = samplerates100, // samplerates
1189+
.vga_id = 0x00, // vga_id
1190+
.default_channelid = DSLogicDevice::DSL_STREAM50x6, // default_channelid
1191+
.default_samplerate = DSL_MHZ(1), // default_samplerate
1192+
.default_samplelimit = DSL_Mn(1), // default_samplelimit
1193+
.default_pwmtrans = 0x0000, // default_pwmtrans
1194+
.default_pwmmargin = 0x0000, // default_pwmmargin
1195+
.ref_min = 0x00000000, // ref_min
1196+
.ref_max = 0x00000000, // ref_max
1197+
.default_comb_comp = 0x00, // default_comb_comp
1198+
.half_samplerate = DSL_MHZ(200), // half_samplerate
1199+
.quarter_samplerate = DSL_MHZ(400), // quarter_samplerate
1200+
}
1201+
},
1202+
{
1203+
0x2A0E,
1204+
0x0034,
1205+
LIBUSB_SPEED_HIGH,
1206+
"DreamSourceLab",
1207+
"DSLogic PLus",
1208+
nullptr,
1209+
"DSLogicPlus-pgl12-2.fw",
1210+
"DSLogicPlus-pgl12-2.bin",
1211+
"DSLogicPlus-pgl12-2.bin",
1212+
.dev_caps {
1213+
.mode_caps = CAPS_MODE_LOGIC, // mode_caps
1214+
.feature_caps = CAPS_FEATURE_VTH | CAPS_FEATURE_BUF | CAPS_FEATURE_MAX25_VTH | CAPS_FEATURE_SECURITY, // feature_caps
1215+
.channels = DSL_CH(DSLogicDevice::DSL_STREAM20x16) |
1216+
DSL_CH(DSLogicDevice::DSL_STREAM25x12) |
1217+
DSL_CH(DSLogicDevice::DSL_STREAM50x6) |
1218+
DSL_CH(DSLogicDevice::DSL_STREAM100x3) |
1219+
DSL_CH(DSLogicDevice::DSL_BUFFER100x16) |
1220+
DSL_CH(DSLogicDevice::DSL_BUFFER200x8) |
1221+
DSL_CH(DSLogicDevice::DSL_BUFFER400x4), // channels
1222+
.total_ch_num = 16, // total_ch_num
1223+
.hw_depth = DSL_MB(256), // hw_depth
1224+
.dso_depth = 0, // dso_depth
1225+
.intest_channel = DSLogicDevice::DSL_BUFFER100x16, // intest_channel
1226+
.vdivs = nullptr, // vdivs
1227+
.samplerates = samplerates400, // samplerates
1228+
.vga_id = 0x00, // vga_id
1229+
.default_channelid = DSLogicDevice::DSL_STREAM50x6, // default_channelid
1230+
.default_samplerate = DSL_MHZ(1), // default_samplerate
1231+
.default_samplelimit = DSL_Mn(1), // default_samplelimit
1232+
.default_pwmtrans = 0x0000, // default_pwmtrans
1233+
.default_pwmmargin = 0x0000, // default_pwmmargin
1234+
.ref_min = 0x00000000, // ref_min
1235+
.ref_max = 0x00000000, // ref_max
1236+
.default_comb_comp = 0x00, // default_comb_comp
1237+
.half_samplerate = DSL_MHZ(200), // half_samplerate
1238+
.quarter_samplerate = DSL_MHZ(400), // quarter_samplerate
1239+
}
1240+
},
1241+
{
1242+
0x2A0E,
1243+
0x0035,
1244+
LIBUSB_SPEED_HIGH,
1245+
"DreamSourceLab",
1246+
"DSLogic U2Basic",
1247+
nullptr,
1248+
"DSLogicU2Basic-pgl12-2.fw",
1249+
"DSLogicU2Basic-pgl12-2.bin",
1250+
"DSLogicU2Basic-pgl12-2.bin",
1251+
.dev_caps {
1252+
.mode_caps = CAPS_MODE_LOGIC, // mode_caps
1253+
.feature_caps = CAPS_FEATURE_VTH | CAPS_FEATURE_BUF | CAPS_FEATURE_MAX25_VTH | CAPS_FEATURE_SECURITY, // feature_caps
1254+
.channels = DSL_CH(DSLogicDevice::DSL_STREAM20x16) |
1255+
DSL_CH(DSLogicDevice::DSL_STREAM25x12) |
1256+
DSL_CH(DSLogicDevice::DSL_STREAM50x6) |
1257+
DSL_CH(DSLogicDevice::DSL_STREAM100x3) |
1258+
DSL_CH(DSLogicDevice::DSL_BUFFER100x16), // channels
1259+
.total_ch_num = 16, // total_ch_num
1260+
.hw_depth = DSL_MB(64), // hw_depth
1261+
.dso_depth = 0, // dso_depth
1262+
.intest_channel = DSLogicDevice::DSL_BUFFER100x16, // intest_channel
1263+
.vdivs = nullptr, // vdivs
1264+
.samplerates = samplerates100, // samplerates
1265+
.vga_id = 0x00, // vga_id
1266+
.default_channelid = DSLogicDevice::DSL_STREAM50x6, // default_channelid
1267+
.default_samplerate = DSL_MHZ(1), // default_samplerate
1268+
.default_samplelimit = DSL_Mn(1), // default_samplelimit
1269+
.default_pwmtrans = 0x0000, // default_pwmtrans
1270+
.default_pwmmargin = 0x0000, // default_pwmmargin
1271+
.ref_min = 0x00000000, // ref_min
1272+
.ref_max = 0x00000000, // ref_max
1273+
.default_comb_comp = 0x00, // default_comb_comp
1274+
.half_samplerate = DSL_MHZ(200), // half_samplerate
1275+
.quarter_samplerate = DSL_MHZ(400), // quarter_samplerate
1276+
}
1277+
},
11651278
{}
11661279
};
11671280

0 commit comments

Comments
 (0)